use of com.epam.reportportal.service.step.StepReporter in project agent-java-testNG by reportportal.
the class ManualStepReporterFeatureTest method manualStepTest.
@Test
public void manualStepTest() {
StepReporter stepReporter = Launch.currentLaunch().getStepReporter();
stepReporter.sendStep(FIRST_NAME);
LOGGER.info("First info log of the first step");
LOGGER.info("Second info log of the first step");
stepReporter.sendStep(SECOND_NAME);
LOGGER.error("First error log of the second step");
stepReporter.sendStep(ItemStatus.FAILED, THIRD_NAME, new File("pug/unlucky.jpg"));
LOGGER.error("Second error log of the second step");
stepReporter.finishPreviousStep();
LOGGER.error("Main test method error log");
}
use of com.epam.reportportal.service.step.StepReporter in project agent-java-junit5 by reportportal.
the class ManualStepReporterFeatureTest method manualStepTest.
@Test
public void manualStepTest() {
StepReporter stepReporter = Launch.currentLaunch().getStepReporter();
stepReporter.sendStep(FIRST_NAME);
LOGGER.info("First info log of the first step");
LOGGER.info("Second info log of the first step");
stepReporter.sendStep(SECOND_NAME);
LOGGER.error("First error log of the second step");
stepReporter.sendStep(ItemStatus.FAILED, THIRD_NAME, new File("pug/unlucky.jpg"));
LOGGER.error("Second error log of the second step");
stepReporter.finishPreviousStep();
LOGGER.error("Main test method error log");
}
use of com.epam.reportportal.service.step.StepReporter in project agent-java-testNG by reportportal.
the class ManualStepReporterSimpleTest method manualStepTest.
@Test
public void manualStepTest() {
StepReporter stepReporter = Launch.currentLaunch().getStepReporter();
stepReporter.sendStep(FIRST_NAME);
LOGGER.info("Inside first nested step");
}
use of com.epam.reportportal.service.step.StepReporter in project agent-java-junit5 by reportportal.
the class ManualStepReporterSimpleTest method manualStepTest.
@Test
public void manualStepTest() {
StepReporter stepReporter = Launch.currentLaunch().getStepReporter();
stepReporter.sendStep(FIRST_NAME);
LOGGER.info("Inside first nested step");
}
Aggregations