Search in sources :

Example 11 with TestCaseExporter

use of com.endava.cats.report.TestCaseExporter in project cats by Endava.

the class BypassAuthenticationFuzzerTest method setup.

@BeforeEach
void setup() {
    catsUtil = Mockito.mock(CatsUtil.class);
    filesArguments = new FilesArguments(catsUtil);
    serviceCaller = Mockito.mock(ServiceCaller.class);
    bypassAuthenticationFuzzer = new BypassAuthenticationFuzzer(serviceCaller, testCaseListener, filesArguments);
    ReflectionTestUtils.setField(testCaseListener, "testCaseExporter", Mockito.mock(TestCaseExporter.class));
}
Also used : FilesArguments(com.endava.cats.args.FilesArguments) CatsUtil(com.endava.cats.util.CatsUtil) ServiceCaller(com.endava.cats.io.ServiceCaller) TestCaseExporter(com.endava.cats.report.TestCaseExporter) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

TestCaseExporter (com.endava.cats.report.TestCaseExporter)11 BeforeEach (org.junit.jupiter.api.BeforeEach)11 IgnoreArguments (com.endava.cats.args.IgnoreArguments)8 ReportingArguments (com.endava.cats.args.ReportingArguments)8 CatsGlobalContext (com.endava.cats.model.CatsGlobalContext)8 ExecutionStatisticsListener (com.endava.cats.report.ExecutionStatisticsListener)8 TestCaseListener (com.endava.cats.report.TestCaseListener)8 FilesArguments (com.endava.cats.args.FilesArguments)3 ServiceCaller (com.endava.cats.io.ServiceCaller)3 CatsUtil (com.endava.cats.util.CatsUtil)3 CatsDSLParser (com.endava.cats.dsl.CatsDSLParser)2 CustomFuzzerUtil (com.endava.cats.fuzzer.CustomFuzzerUtil)2