Skip to content

Commit 4fb9b29

Browse files
committed
Added default report test
1 parent 2692090 commit 4fb9b29

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoTest.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,18 @@ public void skipUtplsqlTests() throws MojoExecutionException {
115115
assertTrue(standardOutput.contains("utPLSQLTests are skipped."));
116116
}
117117

118+
@Test
119+
public void defaultReport() throws MojoExecutionException {
120+
utPLSQLMojo.execute();
121+
122+
final ByteArrayOutputStream console = new ByteArrayOutputStream();
123+
System.setOut(new PrintStream(console));
124+
125+
utPLSQLMojo.execute();
126+
127+
String standardOutput = console.toString();
128+
129+
assertTrue(standardOutput.contains("Finished"));
130+
}
131+
118132
}

0 commit comments

Comments
 (0)