Template comes in with list of already configured tools:
sbt test
task. For aggregated
results follow it with coverageAggregate
task. Sections that should not be measured can be
turned off with // $COVERAGE:OFF$ [reason]
and // $COVERAGE:ON$
comments,project/Settings.scala
file. Can be turned off locally with // format: OFF
,
// format: ON
(comes handy when tool merges several lines into 200-char long monster),scalastyle-config.xml
. If some rule needs exception you can use
// scalastyle:off [rule id]
Template comes in with 3 additional tasks:
integration:test
- runs only tasks tagged with TestTag.IntegrationTest
,functional:test
- runs only tasks tagged with TestTag.FunctionalTest
,unit:test
- runs only tasks tagged with TestTag.UnitTest
.TestTag.DisabledTest
tag can be used to prevent test from being run on
sbt test
.
If default tools and tasks configuration is already suiting your needs, I recommend starting by changing
namespaces everywhere using some refactoring tool. Then I'd edit project/Settings.scala
and changed
organization
, version
and initial command
. Finally I would adjust modules
to my needs.
Once project is established you can remove `tutorial` dir and `actovator.properties` file.