- Input file should contain single START
- On one line not more than one of START
/ --- PASS:/ --- FAIL: / -- SKIP:
keyword should be present - "=== RUN" is not counted as Test Step.
- TestCase should start with word "Test"
- Standlone "PASS" or "FAIL" will be counted as overall test Suite status
- Install maven dependencies
- Go to main/java/core/Runner.java
- Right click & click on Run option [Kindly refer snapshot provided at the bottom of this page]
- Provide input of the test files either using number 1/2/3/4 or write full file name viz- "rewrite_test" / "rewrite_test.txt" etc
- Output will be generated on output prompt of IDE [Kindly refer snapshot provided at the bottom of this page]
- Go to src/test/java/test/java/TestSuite.java
- Right click & click on Run option
Thanks a lot
- Remove Hardcoupling and Decouple functions into Modular format, so that any side effects can be avoided. And testing functions in isolation will become possible.
- Provide dynamic test data to tests
- Improve regex
- Handle Blanks and unexpected inputs
- Fix commandline issue so that tests can be triggered from commandline