To understand why particular test cases failed, sometimes, it's not enough to have an error message returned by Junit or/and log files. Especially when tests are run in CI environment.
To simplify troubleshooting of failed tests, screenshots (of the entire screen and/or a particular window only) can be taken during execution of unit tests.
To understand why particular test cases failed, sometimes, it's not enough to have an error message returned by Junit or/and log files. Especially when tests are run in CI environment. To simplify troubleshooting of failed tests, screenshots (of the entire screen and/or a particular window only) can be taken during execution of unit tests.