TestNG demo code, quickly & simple
Class Name | Usage |
---|---|
HelloTestNG | Hello example |
MethodSequence | annotation method run order |
Groups | run test in groups |
Data | DataProvider data class |
DataProviderTest | DataProvider usage |
Depend | method depend on |
Parallel | parallel run test in multithread |
Parameter | transfer parameter for test |
ExceptionTest | the case expect exception |
FailureTest | the fail case re-run |
XML Name | Usage |
---|---|
groups.xml | run Groups.java |
parallel.xml | run Parallel.java |
parameters.xml | run Parameter.java |