<div dir="ltr">Hi everyone,<br><br>What do you think about introducing a JUnit 5 test engine implementation for JCStress?<br><br>Currently, integrating JCStress tests into a Gradle-based project isn't very intuitive.<div>JCStress tests don’t resemble regular tests, and IDEs don’t offer UI support for running individual test classes.</div><div>That can make the development workflow less smooth than it could be.<br><br>The JUnit 5 platform was designed to decouple test discovery and execution from the test API,</div><div>allowing different kinds of tests to run under a unified infrastructure.</div><div>A custom JCStress engine for the JUnit platform would enable more seamless integration with Gradle’s test tasks,</div><div>and IDEs would treat JCStress tests more like regular ones — including class-level run buttons and test output integration.<br><br>Additionally, applying the @Testable annotation on top of @JCStressTest could allow IDEs to recognize and expose UI</div><div>affordances for running individual JCStress tests, making experimentation and debugging easier.<br><br>I’m not suggesting adding a direct JUnit 5 dependency to JCStress core itself — that might introduce unnecessary coupling.</div><div>But maybe a separate module (e.g., jcstress-junit-engine) could provide the bridge.<br><br>Would that be something the community is open to?</div><div><br>Some related references:<br><br>* JUnit 5 custom test engines: <a href="https://docs.junit.org/current/user-guide/#test-engines-custom">https://docs.junit.org/current/user-guide/#test-engines-custom</a><br>* Known third-party engines: <a href="https://github.com/junit-team/junit-framework/wiki/Third-party-Extensions#junit-platform-test-engines">https://github.com/junit-team/junit-framework/wiki/Third-party-Extensions#junit-platform-test-engines</a><br>* @Testable annotation: <a href="https://github.com/junit-team/junit-framework/blob/d2d9987282c39e047a6d1137613eaf2750b1aad7/junit-platform-commons/src/main/java/org/junit/platform/commons/annotation/Testable.java">https://github.com/junit-team/junit-framework/blob/d2d9987282c39e047a6d1137613eaf2750b1aad7/junit-platform-commons/src/main/java/org/junit/platform/commons/annotation/Testable.java</a><br><br>Looking forward to hearing your thoughts.<br><br>Best regards,<br>Vladimir</div></div>