Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
explain snippets
  • Loading branch information
PhilippSalvisberg committed Aug 22, 2019
commit 66987e1873a0ec5ae6c67d1384a3e7265c630a12
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ utPLSQL for SQL Developer extends Oracle's SQL Developer to
* run existing utPLSQL unit tests
* run utPLSQL code coverage reports
* generate new utPLSQL unit tests (skeletons)
* provide utPLSQL annotations and expectations as snippets

### Run utPLSQL test

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

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

### Snippets

Import utPLSQL snippets for annotations and expectations via the the `Import Snippets` button of the utPLSQL [preferences dialog](#preferences).

Insert the snippets by drag & drop into your code.

#### Annotations

Annotations are used in the package specification for various test configurations.

![utPLSQL Annotations](images/snippets_annotations.png)

#### Expectations

Expectations are used in the package body to compare actual with expected results.

![utPLSQL Expectations](images/snippets_expectations.png)

### Preferences

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