Skip to content

Create comprehensive watcher finder method

Choose a tag to compare

@sbabcoc sbabcoc released this 15 Jan 23:43
· 269 commits to master since this release
  • Add comprehensive LifecycleHooks.getAttachedWatcher() method to enable tests to harvest values collected by attached JUnit watchers. The HookInstallationTest class uses this method to harvest method names seen by the UnitTestWatcher class during test execution.
  • Add LifecycleHooks.getAttachedListener() method to enable tests to harvest values collected by attached JUnit run listeners.
  • These methods invoke identically-named package-private methods of internal implementation classes.