Fray: A Controlled Concurrency Testing Framework for the JVM
62 points
13 hours ago
| 3 comments
| github.com
| HN
AugustoCAS
1 hour ago
[-]
I wonder how this works when one runs test in parallel (something I always enable in any project). By this I mean configuring JUnit to run as many tests as cores are available to speed up the run of the whole test suite.

I took a peek at the code and I have the impression it doesn't work that well as it hooks into when a thread is started. Also, I'm not sure if this works with fibers.

reply
l2dy
11 hours ago
[-]
reply
gavinray
6 hours ago
[-]
See also: "lincheck" by Jetbrains

https://github.com/JetBrains/lincheck

Toolkit for automatically deriving linearizability proofs for Concurrent Data Structures/Primtives.

https://blog.jetbrains.com/kotlin/2021/02/how-we-test-concur...

reply