citrus
citrus copied to clipboard
JavaTestGenerator produces XML-Test Java files
Citrus Version 2.7.8
Expected behavior
The JavaTestGenerator generates Java Citrus tests.
Actual behavior
The JavaTestGenerator generates XML Citrus tests.
Test case sample
new JavaTestGenerator()
.withAuthor("Sven")
.withDescription("This is a sample java test")
.withName("SampleIT")
.usePackage("com.consol.citrus.sample")
.withFramework(UnitFramework.TESTNG)
.create();
generates
/**
* This is a sample java test
*
* @author Sven
* @since 2019-01-14
*/
public class SampleIT extends AbstractTestNGCitrusTest {
@CitrusXmlTest(
name = "SampleIT"
)
@Test
public void sampleIT(@CitrusResource TestRunner testRunner) {
}
}
Additional information This issue is important for #450 to reduce testing efforts.
Ah, I see that I can solve #450 without solving this first, so I removed it from the milestone again.