Test frameworks
Works with your test framework
Use JUnit Jupiter, TestNG or Cucumber. The JUnit and TestNG listeners register themselves automatically; for Cucumber you add one line, cucumber.plugin. Only passing tests count as covering a requirement.