I use ScalaTest in Eclipse (Juno) with Scala 2.10, and the RunConfigurations window has the ability to run a test file, test suite or test suite. When I right-click on the package name in the explorer window, it is possible to run the package (thereby performing all the tests in this package). However, when I do this, the tests are not executed, and it displays this:
WARNING: -p has been deprecated and will be reused for a different (but still very cool) purpose in ScalaTest 2.0. Please change all uses of -p to -R. Run starting. Expected test count is: 0 DiscoverySuite: Run completed in 57 milliseconds. Total number of tests run: 0 Suites: completed 1, aborted 0 Tests: succeeded 0, failed 0, ignored 0, pending 0 All tests passed.
So what else do I need to do, can I run all the tests in the package?
source share