Comparing r5.13.0...r5.13.1 · junit-team/junit-framework (original) (raw)

Commits on Jun 4, 2025

  1. Configuration menu
    Browse the repository at this point in the history
  2. Ensure [@Nested](/junit-team/junit-framework/commit/a866c0169d5254a67b561a652c757b24f45859f0) classes are executed after sibling test methods (#4603)
    In order to validate them, classpath scanning was changed to find them
    in 5.13.0. However, that caused @Nested classes to be added to their
    parent descriptors before their sibling test methods. This made the
    order of execution in classes containing nested test classes dependent
    on how they were discovered unless a MethodOrderer was configured in
    which case MethodOrderingVisitor ensured test methods came before
    @Nested test classes on the same level.
    This commit changes MethodOrderingVisitor to also ensure this
    ordering constraint in case no MethodOrderer is configured.
    Resolves #4600.
    (cherry picked from commit d0d6071)
    @marcphilipp
    Configuration menu
    Browse the repository at this point in the history
  3. Configuration menu
    Browse the repository at this point in the history