we are using play framework and activator as a build tool,we have many unit test cases written in out project,can you please tell me how to run single unit test case using activator ? i tried running this command in command line
activator test-only SampleNodeServiceImplTest.
but this command is running all the test cases in the project. but i want to run only one specific unit test case.
It looks like you have to enclose the argument to activator
in quotes, that is, activator "test-only package.SampleNodeServiceImplTest"
should work (see https://groups.google.com/forum/#!topic/play-framework/xGDhQSz5cTs).
Instead of test-only you can also use testOnly as follow
activator "testOnly package.SampleNodeServiceImplTest".
Giving the the full package path also very important
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With