Home > SQL Developer: Unit Testing > SQL Developer User Interfac...
The SQL Developer user interface for unit testing includes the Unit Test navigator, the Unit Test submenu, and other features.
Figure: Unit Test Navigator shows the Unit Test navigator, which includes the top-level nodes Library, Lookups, Reports, Suites, and Tests. (If this navigator is not visible, click View, then Unit Test.)
In the preceding figure, the top-level repository node shows the name of the connection being used (unit_test_repos) and whether the user associated with that connection has only User access to the repository or both Administrator and User access (here, both). (Administrator and User access are explained in Unit Test Repository.)
The preceding figure also shows the types of actions under the Library node (Startups, Teardowns, Validations), one test suite, and several tests.
Related Topics
To display the Unit Test submenu, click Tools, then Unit Test. (The commands on the Unit Test submenu affect the Unit Test Repository.)
Select Current Repository: Enables you to select the database connection to use for the unit testing repository, and to create a repository using that connection if no repository exists in the associated schema.
Deselect Current Repository: Disconnects from the current unit testing repository. To connect again to a unit testing repository (the same one or a different one), use Select Current Repository.
Purge Run Results: Deletes any existing results from the running of tests and suites.
Create/Update Repository: Enables you to create a unit resting repository, to hold schema objects associated with the SQL Developer unit testing feature.
Drop Repository: Drops (deletes) the current unit testing repository.
Purge Repository Objects: Deletes the contents of the current unit testing repository, but does not delete the repository metadata.
Import From File:
Manage Users: Enables you to select, add, and modify database connections to be used for the unit testing repository.
Show Shared Repository:
Select As Shared Repository: Makes the current repository a shared repository.
Deselect As Shared Repository: Makes the current repository an unshared repository.
The View menu has the following item related to unit testing:
Unit Test: Toggles the display of the Unit Test navigator.
The SQL Developer user preferences window (displayed by clicking Tools, then Preferences) contains a Unit Test Parameters pane.
For information about specific preferences, click Help in the pane or see Unit Test Parameters.