The activator (Play) testOnly runs all tests; how to start really only some of them?

I am using Play Framework 2.3.

When I run activator testOnly controller.MyTestClassName.*

, it runs all tests (including MyTestClassName), just like activator test

.

I only need to run some of my tests. How can I do that?

+3


source to share


3 answers


This is how it should be done:

activator "test-only controller.MyTestClassName"

      



With quotes!

+16


source


parameter test-only

, not testOnly

. Try the following:

activator test-only controller.MyTestClassName

      



Edit: For more information check out the documentation: documentation

0


source


fooobar.com/questions/66940 / ...

sbt ": test controller. MyTestClassName. *"

activator ": test-only controller.MyTestClassName. *"

0


source







All Articles