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
Copy file name to clipboardExpand all lines: docs/userguide/expectations.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,6 +232,13 @@ begin
232
232
end;
233
233
```
234
234
235
+
### Using cursors to compare PLSQL records on Oracle 12c
236
+
237
+
There is a great article by Tim Hall on [using the TABLE Operator with Locally Defined Types in PL/SQL](https://oracle-base.com/articles/12c/using-the-table-operator-with-locally-defined-types-in-plsql-12cr1).
238
+
If you are on Oracle 12c, you can benefit from this feature to make comparison of PLSQL records and tables super-simple in utPLSQL.
239
+
You can use the feature described in article to convert PLSQL records and collection types to cursors. Complex cursor data can then be compared in utPLQL.
Copy file name to clipboardExpand all lines: readme.md
+46-39Lines changed: 46 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,45 +57,52 @@ To sign up to the chat use [this link](http://utplsql-slack-invite.herokuapp.com
57
57
58
58
__Version 2 to Version 3 Comparison__
59
59
60
-
The following table is a work in progress right now, and **will** change. If you have great idea that you would like to see in version 3 please create an [issue on GitHub](https://github.com/utPLSQL/utPLSQL/issues) or discuss it with us in the [Slack chat rooms](http://utplsql-slack-invite.herokuapp.com/).
| Automatic Test detection | No | Yes - Annotations<sup>1</sup> |
77
-
| Require Prefix on Test packages | Yes | No |
78
-
| Require Prefix on Test procedures | Yes | No |
79
-
| Auto Compilation of Tests | Yes | No (Let us know if you use this) |
80
-
| Assertion Library | 30 Assertions<sup>2</sup> | Still under development |
81
-
| Custom Record Assertions | requires generated code through **utRecEq** Package | On Roadmap |
82
-
| Test Skeleton Generation | Yes | On Roadmap |
83
-
|**Test Execution<sup>3</sup>**|||
84
-
| Single Test Execution | Yes | Yes |
85
-
| Test Suite Execution | Yes | Yes |
86
-
| Subset of Suite Execution | No | Yes |
87
-
| Multiple Suite Execution | No | Yes |
88
-
| Code Coverage | No | On Roadmap |
89
-
| Framework Transaction Control | No | Yes - Optional |
90
-
|**Test Output**|||
91
-
| Multiple Output Reporters can be used during test execution | No | Yes |
92
-
| DBMS_OUTPUT | Yes | Yes (format changed) |
93
-
| Stored in Table | Yes | On Roadmap |
94
-
| XUnit XML Format | No | Yes |
95
-
| HTML Format | Yes | On Roadmap |
96
-
| File | Yes | On Roadmap |
97
-
| Realtime test execution results | No | Yes |
98
-
| Custom Output reporter | Yes | Yes |
60
+
If you have great feature in mind, that you would like to see in utPLSQL v3 please create an [issue on GitHub](https://github.com/utPLSQL/utPLSQL/issues) or discuss it with us in the [Slack chat rooms](http://utplsql-slack-invite.herokuapp.com/).
| PLSQL Record Assertions | generated code through **utRecEq** Package |[possible on Oracle 12c](https://oracle-base.com/articles/12c/using-the-table-operator-with-locally-defined-types-in-plsql-12cr1) using [cursor matchers](docs/userguide/expectations.md#comparing-cursors)|
84
+
| Test Skeleton Generation | Yes | On Roadmap |
85
+
|**Test Execution<sup>3</sup>**|||
86
+
| Single Test Package Execution | Yes | Yes |
87
+
| Single Test Procedure Execution | No | Yes |
88
+
| Test Suite Execution | Yes | Yes |
89
+
| Subset of Suite Execution | No | Yes |
90
+
| Multiple Suite Execution | No | Yes |
91
+
| Organizing Suites into hierarchies | No | Yes |
92
+
|**Code Coverage Reporting**| No | Yes |
93
+
| Html Coverage Report | No | Yes |
94
+
| Sonar XML Coverage Report | No | Yes |
95
+
| Coveralls Json Coverage Report | No | Yes |
96
+
| Framework Transaction Control | No | Yes - Annotations<sup>1</sup> |
97
+
|**Test Output**|||
98
+
| Real-time test execution progress reporting | No | Yes |
99
+
| Multiple Output Reporters can be used during test execution | No| Yes |
100
+
| DBMS_OUTPUT | Yes | Yes (clean formatting) |
101
+
| File | Yes (to db server only)| Yes (on client side) |
102
+
| Stored in Table | Yes | No (can be added as custom reporter)
<sup>1</sup> Annotations are specially formatted comments in your package specification. This enables *declarative* test configuration that is coupled with the source code. See Documentation for more details.
0 commit comments