Skip to content

Commit 66987e1

Browse files
explain snippets
1 parent a4124a9 commit 66987e1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ utPLSQL for SQL Developer extends Oracle's SQL Developer to
77
* run existing utPLSQL unit tests
88
* run utPLSQL code coverage reports
99
* generate new utPLSQL unit tests (skeletons)
10+
* provide utPLSQL annotations and expectations as snippets
1011

1112
### Run utPLSQL test
1213

@@ -44,6 +45,24 @@ Select a package, type, function or procedure to build a utPLSQL test package sk
4445

4546
![Generate utPLSQL test](images/generate_utplsql_test_from_template.png)
4647

48+
### Snippets
49+
50+
Import utPLSQL snippets for annotations and expectations via the the `Import Snippets` button of the utPLSQL [preferences dialog](#preferences).
51+
52+
Insert the snippets by drag & drop into your code.
53+
54+
#### Annotations
55+
56+
Annotations are used in the package specification for various test configurations.
57+
58+
![utPLSQL Annotations](images/snippets_annotations.png)
59+
60+
#### Expectations
61+
62+
Expectations are used in the package body to compare actual with expected results.
63+
64+
![utPLSQL Expectations](images/snippets_expectations.png)
65+
4766
### Preferences
4867

4968
Set your preferences to change the behaviour of utPLSQL within SQL Developer.

0 commit comments

Comments
 (0)