Changed onAfterClass to run after @AfterClass
Fixes #2796 - Listener's onAfterClass is called before @AfterClass configuration methods are executed.
Did you remember to?
- [x] Add test case(s)
- [x] Update
CHANGES.txt - [x] Auto applied styling via
./gradlew autostyleApply
Hi,
Thanks for the help but tests are failing.
A behavior change like that cannot be done without giving a way to rollback it. Otherwise, it could be seen as a breaking change.
Please, see my comment on the issue because we have to define the global expectation first.
Tests need to be fixed
That's another cause for concern, and why I think this change might break existing users.
Hi! Looks like the issue with tests was formatting, hopefully fixed next run.
The change is good and may be the new default behavior. But please, add a way to configure the previous behavior for users who want it: we have complains on every behavior change. If you want, you can add a warning message when previous behavior is enabled.