This is a TestNG copy-paste version of the JUnit Calculator example project.

If you find its TestNG report is not idiomatic, consider making a contribution to improve Cucumber JVM TestNG Support.

Two runner classes examplify the available alternatives:

  • Let the runner inherit AbstractTestNGCucumberTests. Each scenario will then be executed as a separate TestNG test.
  • If the runner need to have another base class:
    • let the runner use the same structure as AbstractTestNGCucumberTests to make each scenario run as a separate TestNG test.

Note Please keep code base of this project up-to-date