Get function for searching is not giving the search result but returning all the elements while unit testing

Advertisements I have a function called GetAuthors which takes an expression for checking if given string is in authors names. I have problems while unit testing. The function supposed to find names that contains the given string but I realized it always returns everything in the list. I tested with G letter it supposed to… Read More Get function for searching is not giving the search result but returning all the elements while unit testing

How to toggle report backup without running karate-junit5 in parallel

Advertisements I’ve noticed that if I execute parallel tests with junit5 karate would backup reports by default: //have report backup @Test void runParallel() { Results results = Karate.run(String.join(File.separator,"classpath:steps")).tags("@Read") .reportDir(KARATE_REPORT_DIR) .outputJunitXml(true) .parallel(5); assertEquals(0, results.getFailCount(), results.getErrorMessages()); } But not the same when running a single test with karate-junit5 interface, even with backupReportDir(true) // no report backup @Karate.Test… Read More How to toggle report backup without running karate-junit5 in parallel