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
Invokes all Unit tests from schema/package "hr_test" with two reporters:
@@ -124,7 +125,7 @@ Invokes all Unit tests from schema/package "hr_test" with two reporters:
124
125
* ut_coverage_html_reporter - will report only on database objects that are mapping to file structure from "source" folder and save output to file "coverage.html"
125
126
126
127
```
127
-
utplsql run hr/hr@xe
128
+
> utplsql run hr/hr@xe
128
129
```
129
130
130
131
Invokes all unit test suites from schema "hr". Results are displayed to screen using default ut_documentation_reporter.
@@ -145,19 +146,73 @@ Invokes all unit test suites from schema "hr". Results are displayed to screen u
145
146
#### Examples
146
147
147
148
```
148
-
utplsql info
149
+
> utplsql info
149
150
150
-
> cli 3.1.1-SNAPSHOT.local
151
-
> utPLSQL-java-api 3.1.1-SNAPSHOT.123
151
+
cli 3.1.1-SNAPSHOT.local
152
+
utPLSQL-java-api 3.1.1-SNAPSHOT.123
152
153
```
153
154
```
154
-
utplsql info app/app@localhost:1521/ORCLPDB1
155
+
> utplsql info app/app@localhost:1521/ORCLPDB1
155
156
156
-
> cli 3.1.1-SNAPSHOT.local
157
-
> utPLSQL-java-api 3.1.1-SNAPSHOT.123
158
-
> utPLSQL 3.1.2.1913
157
+
cli 3.1.1-SNAPSHOT.local
158
+
utPLSQL-java-api 3.1.1-SNAPSHOT.123
159
+
utPLSQL 3.1.2.1913
159
160
```
160
161
162
+
### reporters
163
+
`utplsql info <ConnectionURL>`
164
+
165
+
```
166
+
<ConnectionURL> - accepted formats:
167
+
<user>/<password>@//<host>[:<port>]/<service>
168
+
<user>/<password>@<host>:<port>:<SID>
169
+
<user>/<password>@<TNSName>
170
+
To connect using TNS, you need to have the ORACLE_HOME environment variable set.
171
+
The file tnsnames.ora must exist in path %ORACLE_HOME%/network/admin
172
+
The file tnsnames.ora must contain valid TNS entries.
UT_COVERAGE_HTML_REPORTER (SQL_WITH_JAVA): Generates a HTML coverage report with summary and line by line information on code coverage.
185
+
Based on open-source simplecov-html coverage reporter for Ruby.
186
+
Includes source code in the report.
187
+
Will copy all necessary assets to a folder named after the Output-File
188
+
189
+
UT_COVERAGE_SONAR_REPORTER (SQL): Generates a JSON coverage report providing information on code coverage with line numbers.
190
+
Designed for [SonarQube](https://about.sonarqube.com/) to report coverage.
191
+
JSON format returned conforms with the Sonar specification: https://docs.sonarqube.org/display/SONAR/Generic+Test+Data
192
+
193
+
UT_COVERALLS_REPORTER (SQL): Generates a JSON coverage report providing information on code coverage with line numbers.
194
+
Designed for [Coveralls](https://coveralls.io/).
195
+
JSON format conforms with specification: https://docs.coveralls.io/api-introduction
196
+
197
+
UT_DOCUMENTATION_REPORTER (SQL_WITH_JAVA): A textual pretty-print of unit test results (usually use for console output)
198
+
Provides additional properties lvl and failed
199
+
200
+
UT_JUNIT_REPORTER (SQL): Provides outcomes in a format conforming with JUnit 4 and above as defined in: https://gist.github.com/kuzuha/232902acab1344d6b578
201
+
202
+
UT_SONAR_TEST_REPORTER (SQL): Generates a JSON report providing detailed information on test execution.
203
+
Designed for [SonarQube](https://about.sonarqube.com/) to report test execution.
204
+
JSON format returned conforms with the Sonar specification: https://docs.sonarqube.org/display/SONAR/Generic+Test+Data
205
+
206
+
UT_TEAMCITY_REPORTER (SQL): Provides the TeamCity (a CI server by jetbrains) reporting-format that allows tracking of progress of a CI step/task as it executes.
0 commit comments