jqwik-team / jqwik

Property-Based Testing on the JUnit Platform
http://jqwik.net
Eclipse Public License 2.0
555 stars 64 forks source link

Jqwik Quarkus Support #487

Open tmdonalds opened 1 year ago

tmdonalds commented 1 year ago

While trying to test jqwik with a simple Quarkus project, I quickly realized that Jqwik does not work. I am assuming that one of the reasons that jqwik does not work with Quarkus is because jqwik gets rid of the "@Test" annotation and this annotation is used by Quarkus in order to setup the Quarkus framework.

I believe the problem to be almost identical to the issue described here. After further investigation there seems to be a solution that was developed for spring located here. Wondering is there an equivalent for Quarkus?

jlink commented 1 year ago

There’s currently no jqwik quarkus extension I know of. However, besides the Spring extension there’s another one for Micronaut which is close to its first GA release: https://github.com/jqwik-team/jqwik-micronaut

The latter has been contributed by a dev from the community - with some basic support from me. So doing it is possible. If you want to go for it, let me know and I can set up the repo and give you a few pointers for starting. After I’m back from vacation that is.

tmdonalds commented 1 year ago

Thank you @jlink . Appreciate it. When I get some spare cycles I will circle back. Thanks.