Unit Testing: Synchronize Unit Test

Use this wizard to synchronize a unit test, that is, to update the selected unit test to reflect changes in the operation to be tested. For example, you might want the unit test to use a new procedure (perhaps owned by a different database user) instead of the procedure for which the unit test was originally defined. (The SQL Developer unit testing feature is explained in SQL Developer: Unit Testing.) To go from one step to the next, click Next; to go back to the previous step, click Back.

Select Operation

Select the database connection (associated with the owner of the object) on the right, then use the hierarchy tree to select an object to be used as the new operation. For example, to specify a different procedure, expand the Procedures node and select the desired procedure.

Current Target Operation: The operation currently associated with this unit test.

Select New Target Operation: Use the hierarchy tree to select the new operation to be associated with this unit test.

Reset: Discards any unsaved specifications and restores the current definition.

Match Parameters by Name/Position: Specify whether to match the new operation's parameters with the current operation's parameters by using the names or positions of the parameters in the format (signature) of the object.

Connection selector: Select the database connection to be used for displaying the hierarchy of objects from which to select the new operation. For example, if the new procedure is in a different database schema, select a connection associated with the database user for that schema.

New Target Operation: Displays the result of your selection.

Summary

Displays information about the current operation, the new operation, and the changes that will be made to the unit test. To make any changes, click Back. To perform the operation, click Finish.

Related Topics

SQL Developer: Unit Testing