Class TestBenchJavaTestGenerator
java.lang.Object
com.vaadin.copilot.testbenchgenerator.TestBenchJavaTestGenerator
Generates a TestBench tests using the JavaParser with the given scenario.
-
Constructor Summary
ConstructorsConstructorDescriptionTestBenchJavaTestGenerator(TestBenchScenario scenario) Constructs a TestBenchScenario -
Method Summary
-
Constructor Details
-
TestBenchJavaTestGenerator
Constructs a TestBenchScenario- Parameters:
scenario- to create
-
-
Method Details
-
generate
Generates the test case for the given scenario.- Returns:
- Generated absolute file path
- Throws:
IOException- is thrown when IO exception happens.
-