Fray: A Concurrency Testing Tool for Java
2025-06-08
Fray is a powerful concurrency testing tool for Java designed to help developers identify and debug elusive race conditions that manifest as assertion violations, runtime exceptions, or deadlocks. Leveraging advanced techniques like probabilistic concurrency testing and partial order sampling, Fray offers controlled concurrency testing and deterministic replay for debugging specific thread interleavings. Easily integrated into existing testing frameworks like JUnit 5 (using annotations) and others, Fray also provides Gradle and Maven plugins for streamlined setup. Contributions are welcome!