public class ApplicativeTestService extends Object
Constructor and Description |
---|
ApplicativeTestService(Path tnrReportDirectory) |
Modifier and Type | Method and Description |
---|---|
AtomicBoolean |
getIsTnrMasterActived() |
String |
getTnrBranch() |
boolean |
inProgress() |
String |
launchCucumberTest(Path featurePath)
launch cucumber test.
|
String |
launchPiecesCucumberTest(String pieces) |
InputStream |
readReport(String fileName) |
List<Path> |
reports() |
void |
setIsTnrMasterActived(AtomicBoolean isTnrMasterActived) |
void |
setTnrBranch(String tnrBranch) |
int |
synchronizedTestDirectory(Path featurePath) |
public ApplicativeTestService(Path tnrReportDirectory)
public String launchCucumberTest(Path featurePath)
featurePath
- path to the featurepublic String launchPiecesCucumberTest(String pieces) throws IOException
IOException
public boolean inProgress()
public List<Path> reports() throws IOException
IOException
public InputStream readReport(String fileName) throws IOException
fileName
- name of the report.IOException
- if the report is not found.public int synchronizedTestDirectory(Path featurePath) throws IOException, InterruptedException
IOException
InterruptedException
public void setIsTnrMasterActived(AtomicBoolean isTnrMasterActived)
public AtomicBoolean getIsTnrMasterActived()
public String getTnrBranch()
public void setTnrBranch(String tnrBranch)
Copyright © 2018 Vitam. All rights reserved.