Executing tests

Run all unit tests in my current schema
exec ut.run();
Run all unit tests in current schema after it was changed to HR
alter session set current_schema='HR';

exec ut.run();
Run all unit tests in specific schema
exec ut.run('HR');
Run all unit tests in specific package of current schema
exec ut.run('test_betwnstr');
Run all unit tests in specific schema.package
exec ut.run('hr.test_betwnstr');
Run one specific test only
exec ut.run('hr.test_betwnstr.big_end_position');
Run several items
exec ut.run(ut_varchar2_list(
    'hr.test_award_bonus',
    'hr.test_betwnstr.big_end_position'));
Run test using suitepath
  exec ut.run(':com.my_org.my_project');
Run the tests as a select statement
select * from table(ut.run());
Comments