unit testing - Scala test cannot find any test to run -


i trying run test in scala play framework. here code have written

package com.sentrana.mmcore.integrationtests  import org.specs2.mutable._ import org.specs2.runner._ import org.junit.runner._ import play.api.test._ import play.api.test.helpers._ import play.api.libs.json._  class applicationspec extends specification tags {   "application" should {     "work" in new withapplication {       route(fakerequest(get, "/boum")) must benone     }   }  } 

this command using run test -

test-only com.sentrana.mmcore.integrationtests.applicationspec

i not getting error. showing me 0 tests have been.

i hope have made question clear. if there confusion please ask. stuck months. please me. , in advance.

if add test using intellijidea make sure file has .scala extension. ide not show errors activator cannot find test because searching scala files.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -