This is a section in the C
hisel Developers Style Guide with a section on Tests:
TestsTest classes are named starting with the name of the class they are testing, and ending with "Test". Test files must start with the name of the class you are testing and end with "Test.scala". Test files should reside in a subdirectory called "tests". The tests package should be composed of the package class you are testing.
package class.under.test.class
package tests
The package specification confuses me a bit in that I've not seen any examples of code doing this. Furthermore, I would expect that the package name to be fully specified as advised in the
Scala Style Guide.
I would have expected something like this:
package com.mycompany.adder.tests
Can anyone clarify the proper way to do this?
Warren