Surefire test property does not run test in given order
Gary Gregory <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.maven.user |
|---|---|
| Message-ID | <CACZkXPzttaLs9Hc1_0hg=6q_OPo9MV--2SLPfH=cOLTwFPJMkA@mail.gmail.com> |
Hi All, I am trying to debug some tests in Commons Lang that seem to depend on side-effects from previous tests in a run. BUT when I run: mvn test -Dtest=T1,T2,T3 Maven does NOT run T1, then T2, then T3; the order appears random. This behavior is unexpected and undesirable. It seems like a bug to me. Any ideas? Apache Maven 3.9.10 (5f519b97e944483d878815739f519b2eade0a91d) Maven home: /opt/homebrew/Cellar/maven/3.9.10/libexec Java version: 24.0.1, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/24.0.1/libexec/openjdk.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "15.5", arch: "aarch64", family: "mac" [INFO] --- surefire:3.5.3:test (default-test) @ commons-lang3 --- TY, Gary