Skip to content

Prevent duplicate notifications; switch from scheduler wrapper to standard RunListener

Choose a tag to compare

@sbabcoc sbabcoc released this 09 Dec 06:30
· 306 commits to master since this release
  • TestClassWatcher: Remove start/finish methods, which are essentially useless in parallel execution.
  • Replace wrapper for runner scheduler (which isn't used by parallel runs) with standard RunListener.
  • DepthGauge: New class to provide call depth counting for intercept methods.
  • RunAnnouncer: New standard RunListener that produces enhanced RunWatcher notifications.
  • Revise intercept methods, adding call depth counting and only sending notifications from top level.
  • LifecycleHooks: For BlockJUnit4ClassRunner subtypes, add interception of createTestClass() and run() methods.
  • Run: Switch runner stack from Stack to ArrayDeque; only notify about runner start/finish if current runner isn't top of stack; remove attachment of RunListener service providers.
  • RunChild: Add attachment of RunListener service providers.
  • AtomicTest: Switch constructor argument from FrameworkMethod to Description.
  • Update README to document the current API.