https://github.com/virtualansoftware/testscripts-generator
#Idaithalam maven test script generation plugin - The plugin would generate testng java code for idaithalam workflow ymls
https://github.com/virtualansoftware/testscripts-generator
agiletesting apitesting test-automation testing-tools
Last synced: 3 months ago
JSON representation
#Idaithalam maven test script generation plugin - The plugin would generate testng java code for idaithalam workflow ymls
- Host: GitHub
- URL: https://github.com/virtualansoftware/testscripts-generator
- Owner: virtualansoftware
- License: apache-2.0
- Created: 2022-05-25T05:03:58.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T14:41:51.000Z (about 3 years ago)
- Last Synced: 2025-02-01T15:35:16.405Z (5 months ago)
- Topics: agiletesting, apitesting, test-automation, testing-tools
- Language: Java
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## maven plugin for "testscripts-generator"
### Why do we need maven plugin?
Currently, the testng test class code created and repeated in all the project.
This one will help to generate the testng Java code for workflow ymls projected via maven plugin.
This will remove the boiler plate code which repeated for any idaithalam java project.### How will this work?
This generator will create Java class and test method for all the given ymls.```xml
io.virtualan
testscripts-generator
0.1.0
src/test/java
workflowExecution_xl
rest-get.yml
test-generator
generateTest
```
### Generated JAVA Code
The above plugin would generate the following java code and would be excuted as well.
```java
package io.virtualan.idaithalam.test;import io.virtualan.idaithalam.core.api.VirtualanTestPlanExecutor;
import org.testng.Assert;public class RestTestPlanExecutor {
@org.testng.annotations.Test
public void workflowExecution_xl(){
try {
boolean isSuccess = VirtualanTestPlanExecutor.invoke("rest-get.yml");
Assert.assertTrue(isSuccess);
} catch (Exception e) {
Assert.assertTrue(false);
}
}}
```#### Email [email protected] for any questions.