Search code examples
javajunitweb-api-testing

How to document the failing JUnit tests


I have developed an Automation framework with JUnit for our API Testing. Here I have created a separate class for each API listing multiple unit tests for that API. I want to list each failing JUnit test case in some separate file so that I can easily track the failing test cases. Can anyone suggest how can I do it?


Solution

  • Thank you all for your suggestions. I replaced the JUnit with TestNG, Integrated the Surefire plug-in and Jenkins CI as well, and my framework is working the same that I intended in the beginning.