Mainly, how to disable the auto creation of files under the /test
folder (all those testing files) ? Thank you.
1 Like
Oddly specific ask, what is it that you truly need?
You know you can always just delete the test
directory and remove its mentions from the mix.exs
file, right?
3 Likes
There is no auto creation of anything in Phoenix. Are you running generators and asking for those generators to not generate test files? I would simply delete them in that case after you run the generator.
1 Like
Exactly, I though there is a config flag to disable the auto-generation of those testing files when running generators like mix phx.gen.json
.
You would have to customize the generators (here’s an article). I can’t see Phoenix ever providing an option to skip tests (but who knows).
3 Likes