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
-c - If specified, enables printing of test results in colors as defined by ANSICONSOLE standards.
103
95
Works only on reporeters that support colors (ut_documentation_reporter).
96
+
104
97
--failure-exit-code - Override the exit code on failure, defaults to 1. You can set it to 0 to always exit with a success status.
98
+
105
99
-scc - If specified, skips the compatibility-check with the version of the database framework.
106
100
If you skip compatibility-check, CLI will expect the most actual framework version
107
-
-include=package_list - Comma-separated object list to include in the coverage report.
108
-
Format: [schema.]package[,[schema.]package ...].
109
-
See coverage reporting options in framework documentation.
110
-
-exclude=package_list - Comma-separated object list to exclude from the coverage report.
111
-
Format: [schema.]package[,[schema.]package ...].
112
-
See coverage reporting options in framework documentation.
101
+
102
+
-include=pckg_list - Comma-separated object list to include in the coverage report.
103
+
Format: [schema.]package[,[schema.]package ...].
104
+
See coverage reporting options in framework documentation.
105
+
106
+
-exclude=pckg_list - Comma-separated object list to exclude from the coverage report.
107
+
Format: [schema.]package[,[schema.]package ...].
108
+
See coverage reporting options in framework documentation.
113
109
```
114
110
115
111
Parameters -f, -o, -s are correlated. That is parameters -o and -s are controlling outputs for reporter specified by the preceding -f parameter.
116
112
117
113
Sonar and Coveralls reporter will only provide valid reports, when source_path and/or test_path are provided, and ut_run is executed from your project's root path.
118
114
119
-
Examples:
115
+
#### Examples
120
116
121
117
```
122
118
utplsql run hr/hr@xe -p=hr_test -f=ut_documentation_reporter -o=run.log -s -f=ut_coverage_html_reporter -o=coverage.html -source_path=source
@@ -133,7 +129,37 @@ utplsql run hr/hr@xe
133
129
134
130
Invokes all unit test suites from schema "hr". Results are displayed to screen using default ut_documentation_reporter.
135
131
136
-
#### Enabling Color Outputs on Windows
132
+
### info
133
+
`utplsql info [<ConnectionURL>]`
134
+
135
+
```
136
+
<ConnectionURL> - accepted formats:
137
+
<user>/<password>@//<host>[:<port>]/<service>
138
+
<user>/<password>@<host>:<port>:<SID>
139
+
<user>/<password>@<TNSName>
140
+
To connect using TNS, you need to have the ORACLE_HOME environment variable set.
141
+
The file tnsnames.ora must exist in path %ORACLE_HOME%/network/admin
142
+
The file tnsnames.ora must contain valid TNS entries.
143
+
```
144
+
145
+
#### Examples
146
+
147
+
```
148
+
utplsql info
149
+
150
+
> cli 3.1.1-SNAPSHOT.local
151
+
> utPLSQL-java-api 3.1.1-SNAPSHOT.123
152
+
```
153
+
```
154
+
utplsql info app/app@localhost:1521/ORCLPDB1
155
+
156
+
> cli 3.1.1-SNAPSHOT.local
157
+
> utPLSQL-java-api 3.1.1-SNAPSHOT.123
158
+
> utPLSQL 3.1.2.1913
159
+
```
160
+
161
+
162
+
## Enabling Color Outputs on Windows
137
163
138
164
To enable color outputs on Windows cmd you need to install an open-source utility called [ANSICON](http://adoxa.altervista.org/ansicon/).
0 commit comments