From add70689b434744ad7a3561ff3e03b61b3e5c463 Mon Sep 17 00:00:00 2001 From: Andreas Gebhardt Date: Mon, 25 Apr 2016 22:07:09 +0200 Subject: [PATCH] fix invocation of JUnit(4) tests By default `scalatest-maven-plugin` [1] does not discover JUnit tests. Each JUnit test must be added to a comma separated list within plugin configuration `jUnitClasses`: ``` org.scalatest scalatest-maven-plugin 1.0 ${project.build.directory}/surefire-reports . TestSuiteReport.txt samples.AppTest ... ``` [1] https://github.com/scalatest/scalatest-maven-plugin --- src/main/resources/archetype-resources/pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml index aa21566..fd09bbf 100644 --- a/src/main/resources/archetype-resources/pom.xml +++ b/src/main/resources/archetype-resources/pom.xml @@ -98,6 +98,8 @@ ${project.build.directory}/surefire-reports . TestSuiteReport.txt + + samples.AppTest