You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*A maven plugin for running Unit Tests with utPLSQL v3+.
5
+
A maven plugin for running Unit Tests with utPLSQL v3+.
6
6
7
7
## Compatibility
8
-
*This plugin is compatible with utPLSQL 3.1.0+.
8
+
This plugin is compatible with utPLSQL 3.1.0+.
9
9
10
10
## Prerequisites
11
11
* Java SE Runtime Environment 8
12
12
* Maven Version 3.5+
13
-
14
-
The plugin requires Oracle JDBC driver (ojdbc8) as a Maven dependency.
13
+
* Oracle JDBC driver
15
14
16
15
```xml
17
16
<dependency>
@@ -49,11 +48,11 @@ If you want to skip tests by default but want the ability to re-enable tests fro
49
48
50
49
This will allow you to run with all tests disabled by default and to run them with this command:
51
50
52
-
mvn install -DskipTests=false
51
+
mvn install -DskipUtplsqlTests=false
53
52
54
-
### Usage Example
53
+
### Configuration
55
54
56
-
Please refer to the following usage example for the parameters descriptions.
55
+
Please refer to the following usage example for the parameters descriptions:
57
56
58
57
```xml
59
58
<projectxmlns="http://maven.apache.org/POM/4.0.0"
@@ -90,7 +89,6 @@ Please refer to the following usage example for the parameters descriptions.
90
89
<goal>test</goal>
91
90
</goals>
92
91
<configuration>
93
-
94
92
<!-- REQUIRED PARAMETERS -->
95
93
96
94
<!-- A list of tests suite paths. -->
@@ -142,6 +140,10 @@ Please refer to the following usage example for the parameters descriptions.
142
140
<!-- Defaults to: false -->
143
141
<skipUtplsqlTests>false</skipUtplsqlTests>
144
142
143
+
<!-- Enables DBMS_OUTPUT -->
144
+
<!-- Defaults to: false -->
145
+
<dbmsOutput>false</dbmsOutput>
146
+
145
147
<!-- A list of tags to run. -->
146
148
<tags>
147
149
<tag>test_tag</tag>
@@ -230,14 +232,14 @@ Please refer to the following usage example for the parameters descriptions.
230
232
```
231
233
232
234
More project samples are available in the src/test/resources directory:
233
-
***simple-project:**minimalist test project with standard project directory structure.
234
-
***regex-project:**overrides project directory structure and use additional parameters (sourcesRegexExpression, testsRegexExpression, ...), to tell utPLSQL how project files should be mapped into database objects.
235
-
***type-mapping-project:**this project shows how to use regex and custom type parameters together.
236
-
***owner-param-project:**this project demonstrates how to use sourcesOwner and testsOwner parameters.
235
+
***simple-project:**Minimalist test project with standard project directory structure.
236
+
***regex-project:**Overrides project directory structure and use additional parameters (sourcesRegexExpression, testsRegexExpression, ...), to tell utPLSQL how project files should be mapped into database objects.
237
+
***type-mapping-project:**Example how to use regex and custom type parameters together.
238
+
***owner-param-project:**Demonstrates how to use sourcesOwner and testsOwner parameters.
237
239
238
-
## Comparaison with the CLI
240
+
## Comparison with utPLSQL CLI
239
241
240
-
| CLI short parameter | CLI long parameter |maven XML path |
242
+
| CLI short parameter | CLI long parameter |Maven XML path |
241
243
| --- | --- | --- |
242
244
| -c | --color ||
243
245
|| --failure-exit-code ||
@@ -248,6 +250,7 @@ More project samples are available in the src/test/resources directory:
0 commit comments