I can run:
- concrete scala test
- or by right-clicking on the test, and select
run - or if I ran it once earlier by selecting a test in the
run... menu> run...
- I can run all junit tests by creating a new
run/debug configuration > +> junit> test kind = all in package > search for tests = in whole project - I can run the entire scalatest (or junit) of one subproject: right-click on the project> run> scalatest in [module name]
But if I do the same as (2) with the scala test (+> scala test>), the first test fails very strange (it seems that object not being created) while the same test passes if I run him using (1) or (3)
Config:
- sbt with multiple subprojects
- intellij CE 15.0.2
- scala plugin 2.1.0
- scala 2.10
Bonus question: how to run all tests (junit and scalatest)?
source share