Answer the question
In order to leave comments, you need to log in
How to automatically run tests during package build process in Play Framework 2.3.9?
I'm using Play Framework 2.3.9 . I'm
building a production distribution via activator debian:package-bin (or even just activator dist).
How to automatically run tests (those through activator test) and abort the assembly in case of an error passing them?
Answer the question
In order to leave comments, you need to log in
Go through all the tests first, and then build the production. When building a production version, a bunch of optimizers and obfuscators (js, css, sass, and other things) go through the sources, which are not needed during tests. Run in console activator test && activator dist
and don't worry.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question