
Scala for Java Developers
By :

To be able to quickly start visualizing some of the tests that can be written with ScalaTest, we can take advantage of the test-patterns-scala
template from the Typesafe Activator that we introduced in the previous chapter. It consists of a number of examples that essentially target the ScalaTest framework.
Setting up the test-patterns-scala
activator project only requires you to go to the directory where you installed the Typesafe Activator, as we did earlier, and then, either start the GUI through the > activator ui
command, or type > activator new
to create a new project and select the appropriate template when prompted.
The template project already contains the
sbteclipse
plugin; therefore, you can generate eclipse-related files by simply entering from a command prompt in the root directory of the project, as follows:
> activator eclipse
Once the eclipse project is successfully created, you may import it into your IDE workspace by selecting File ...
Change the font size
Change margin width
Change background colour