-
-
Notifications
You must be signed in to change notification settings - Fork 64
Using Arbitriaries outside jqwik execution #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Danny02 Can you give an example how you use it? It should still work... |
@jlink I created a minimal failing example for you |
Copying over the example to have it handy:
|
It's definitely a bug. Strangely enough I have tests for it, but they seem to work fine in the overall suite and only fail when run individually :-( |
Fixed and published in 1.3.7-SNAPSHOT: https://jqwik.net/release-notes.html#137-snapshot |
Testing Problem
In my project I use JUnit5 alongside jqwik. Until Version 1.2.7 I could use Arbitrary samples in JUnit tests. With version 1.3.6 I get the error "The current action must be run on a jqwik thread ..." in CurrentTestDescriptor.get(), which is called in the initialization of the EdgeCaseFacadeImpl.
I know that I could replace all @test with @example, but JUnit has some other features one would want to use. And also most coworkers are more acustomed to using JUnit.
The text was updated successfully, but these errors were encountered: