An open API service indexing awesome lists of open source software.

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

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.