Hi,
If you use fuzzing a lot, where do you put your fuzzers ? I can see a few options
-
tests/SomeModuleTest.elm, seems logical but then it is not entirely clear how to reuse it in some other test.import SomeDataTest exposing (fuzzSomeData)perhaps ? -
tests/Fuzzers/SomeDataFuzzer.elm, to cleanly separate the fuzzers from the tests that use them ? -
src/SomeData.elm. Makes sense to bring a generator next to its source file, but adds a dependency toelm-explorations/testto the production build, which sounds bad.
I am incorporating some fuzzing in my test suites at the moment and I am wondering what the general usage is, if any…