Fray: A Controlled Concurrency Testing Framework for the JVM
a year ago
- #Java
- #Debugging
- #Concurrency Testing
- Fray is a concurrency testing tool for Java that helps find and debug race conditions, run-time exceptions, or deadlocks.
- It uses state-of-the-art techniques like probabilistic concurrency testing and partial order sampling.
- Fray provides deterministic replay capabilities for debugging specific thread interleavings.
- It can be integrated into existing testing frameworks, including JUnit 5 with annotations like @ConcurrencyTest and @ExtendWith(FrayTestExtension.class).
- Fray can also be used with other testing frameworks via FrayInTestLauncher.
- Gradle and Maven integration is supported with specific plugins and dependencies.
- Contributions to Fray are welcomed and appreciated.
- The project is supported by the National Science Foundation and an Amazon Research Award.