How to manage failed tests in JUnit5
问题 I'm migrating to JUnit5 and I'd like to know if there is an easy way in JUnit5 to know when a test failed or not, just like we had in JUnit4 with TestWatcher. I did some research and found similar, but open questions, like this one: https://github.com/junit-team/junit5/issues/542 Since most of them are quite old, I'm asking just in case there is a recent solution. The idea is to be able to do a screenshot or add some message into my log. So, is there a listener or extension or something that