Skip to content

Commit e1c5acb

Browse files
committed
add a test for running the plugin under 2.11
1 parent 5ae6b76 commit e1c5acb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/functionalTest/java/org.scoverage/ScalaSingleModuleTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ public void reportScoverageWithoutNormalCompilationAndWithExcludedClasses() thro
133133
Assert.assertFalse(resolve(buildDir(), "classes/scala/scoverage/org/hello/World.class").exists());
134134
}
135135

136+
@Test
137+
public void reportScoverageUnder2_11() throws Exception {
138+
run("clean", ScoveragePlugin.getREPORT_NAME(),
139+
"-PscalaVersionMinor=11",
140+
"-PscalaVersionBuild=8",
141+
"-Pscoverage.scoverageScalaVersion=2_11");
142+
assertReportFilesExist();
143+
}
144+
136145
private void assertReportFilesExist() {
137146

138147
Assert.assertTrue(resolve(reportDir(), "index.html").exists());

0 commit comments

Comments
 (0)