Lol to late
. Did it the same way as described by pSub and it worked fine.
seems to fail in Weblab.
I would guess NormalizeTestHelper is just not available in weblab. Maybe
it could be moved to main.scala.base ?
Also what is the difference between
(in the test template in weblab).
FunSuite is an extension of Suite, which offers another(/better?) style of writing tests:
Moreover, test in ScalaTest does not necessarily mean test method. A test can be anything that can be given a name, that starts and either succeeds or fails, and can be ignored. In org.scalatest.FunSuite, for example, tests are represented as function values. This approach might look foreign to JUnit users, but may feel more natural to programmers with a functional programming background. To facilitate this style of writing tests, FunSuite overrides testNames, runTest, and run such that you can define tests as function values.
also it says:
One benefit of FunSuite compared to Suite is you need not name all your tests starting with "test". In addition, you can more easily give long names to your tests, because you need not encode them in camel case.
Found the information here:
With a bunch of documentation for all versions of scalatest =)