Search in sources :

Example 21 with ReportPortal

use of com.epam.reportportal.service.ReportPortal in project allure-java by reportportal.

the class LabelAnnotationTest method initMocks.

@BeforeEach
public void initMocks() {
    mockLaunch(client, namedUuid("launchUuid"), suitedUuid, testClassUuid, stepUuid);
    ReportPortal reportPortal = ReportPortal.create(client, standardParameters());
    TestNgListener.REPORT_PORTAL_THREAD_LOCAL.set(reportPortal);
}
Also used : ReportPortal(com.epam.reportportal.service.ReportPortal) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 22 with ReportPortal

use of com.epam.reportportal.service.ReportPortal in project allure-java by reportportal.

the class SeverityAnnotationTest method initMocks.

@BeforeEach
public void initMocks() {
    mockLaunch(client, namedUuid("launchUuid"), suitedUuid, testClassUuid, stepUuid);
    ReportPortal reportPortal = ReportPortal.create(client, standardParameters());
    TestNgListener.REPORT_PORTAL_THREAD_LOCAL.set(reportPortal);
}
Also used : ReportPortal(com.epam.reportportal.service.ReportPortal) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 23 with ReportPortal

use of com.epam.reportportal.service.ReportPortal in project allure-java by reportportal.

the class StaticNestedStepsTest method initMocks.

@BeforeEach
public void initMocks() {
    mockLaunch(client, namedUuid("launchUuid"), suitedUuid, testUuid, stepUuid);
    ReportPortal reportPortal = ReportPortal.create(client, standardParameters());
    mockLogging(client);
    TestNgListener.REPORT_PORTAL_THREAD_LOCAL.set(reportPortal);
}
Also used : ReportPortal(com.epam.reportportal.service.ReportPortal) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 24 with ReportPortal

use of com.epam.reportportal.service.ReportPortal in project allure-java by reportportal.

the class AllureIdAnnotationTest method initMocks.

@BeforeEach
public void initMocks() {
    mockLaunch(client, namedUuid("launchUuid"), suitedUuid, testClassUuid, stepUuid);
    ReportPortal reportPortal = ReportPortal.create(client, standardParameters());
    TestNgListener.REPORT_PORTAL_THREAD_LOCAL.set(reportPortal);
}
Also used : ReportPortal(com.epam.reportportal.service.ReportPortal) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

ReportPortal (com.epam.reportportal.service.ReportPortal)24 BeforeEach (org.junit.jupiter.api.BeforeEach)17 ListenerParameters (com.epam.reportportal.listeners.ListenerParameters)7 StartLaunchRQ (com.epam.ta.reportportal.ws.model.launch.StartLaunchRQ)4 SaveLogRQ (com.epam.ta.reportportal.ws.model.log.SaveLogRQ)4 Launch (com.epam.reportportal.service.Launch)3 ParameterKey (com.epam.reportportal.annotations.ParameterKey)2 TestCaseId (com.epam.reportportal.annotations.TestCaseId)2 Attributes (com.epam.reportportal.annotations.attribute.Attributes)2 ItemType (com.epam.reportportal.junit5.ItemType)2 SystemAttributesFetcher.collectSystemAttributes (com.epam.reportportal.junit5.SystemAttributesFetcher.collectSystemAttributes)2 ItemTreeUtils.createItemTreeKey (com.epam.reportportal.junit5.utils.ItemTreeUtils.createItemTreeKey)2 ItemStatus (com.epam.reportportal.listeners.ItemStatus)2 TestCaseIdEntry (com.epam.reportportal.service.item.TestCaseIdEntry)2 TestItemTree (com.epam.reportportal.service.tree.TestItemTree)2 TestItemTree.createTestItemLeaf (com.epam.reportportal.service.tree.TestItemTree.createTestItemLeaf)2 AttributeParser (com.epam.reportportal.utils.AttributeParser)2 ParameterUtils (com.epam.reportportal.utils.ParameterUtils)2 TestCaseIdUtils (com.epam.reportportal.utils.TestCaseIdUtils)2 com.epam.ta.reportportal.ws.model (com.epam.ta.reportportal.ws.model)2