Skip to content

Commit a23d2c1

Browse files
PazusPavel Kaplya
authored andcommitted
optimization tricks
added some comments switched to $$ut_trace compilation flag refactored config_package procedure specification added huge package for parsing tests added example of parsing huge package spec
1 parent 26cd400 commit a23d2c1

7 files changed

Lines changed: 2150 additions & 131 deletions

examples/RunAllExamples.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ prompt RunExampleTestSuiteWithCompositeReporter
1515
@@RunExampleTestSuiteWithCompositeReporter.sql
1616
prompt RunExampleTestAnnotationBasedForCurrentSchema
1717
@@RunExampleTestAnnotationBasedForCurrentSchema.sql
18+
prompt RunExampleTestAnnotationsHugePackage
19+
@@RunExampleTestAnnotationsHugePackage.sql
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--Shows how to create a test suite with the default reporter which is dbms_output
2+
--No tables are used for this.
3+
--Suite Management packages are when developed will make this easier.
4+
--Clear Screen
5+
Set Serveroutput On Size Unlimited format truncated
6+
set echo off
7+
--install the example unit test packages
8+
@@tst_pkg_huge.pks
9+
10+
declare
11+
l_suite ut_test_suite;
12+
begin
13+
ut_suite_manager.config_package(a_owner_name => USER,a_object_name => 'TST_PKG_HUGE',a_suite => l_suite);
14+
end;
15+
/
16+
17+
drop package tst_pkg_huge;

examples/test_pkg1.pck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
create or replace package test_pkg1 is
1+
create or replace package TEST_PKG1 is
22

33
/*
44
This is the correct annotation

0 commit comments

Comments
 (0)