Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 389eac2

Browse files
authored
Merge pull request #73 from jgebal/feature/assertions_rework
Feature/assertions rework
2 parents f512ad5 + c5853e0 commit 389eac2

195 files changed

Lines changed: 3689 additions & 399 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[submodule "any_data"]
2-
path = lib/any_data
3-
url = https://github.com/jgebal/any_data.git
4-
branch = master
51
[submodule "tools/ndocs"]
62
path = tools/ndocs
73
url = https://github.com/rlove/NaturalDocs.git

.travis/any_data_install.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

.travis/create_utplsql_user.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ create user &ut3_user identified by &ut3_password default tablespace &ut3_tables
1313

1414
grant create session, create procedure, create type, create table to &ut3_user;
1515

16-
grant execute on sys.dbms_crypto to &ut3_user;
16+
grant alter session to &ut3_user;
1717

1818
exit success

.travis/install_libraries.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22

33
work_dir="$(dirname "$(readlink -f "$0")")"
44

5-
. ${work_dir}/any_data_install.sh

build/ut_conditial_debug_setup.sql

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
alter session set PLSQL_Warnings = 'enable:all';
55
alter session set PLSQL_CCFlags = 'ut_trace:true';
66

7-
alter package ut_types compile debug package;
8-
alter package ut_assert compile debug package;
9-
alter package ut_testexecute compile debug package;
10-
alter package ut_exampletest compile debug package;
7+
alter package ut_annotations compile debug package;
8+
alter package ut_suite_manager compile debug package;
9+
alter package ut_utils compile debug package;

examples/RunAllExamples.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Clear Screen
22
set echo off
33
set feedback off
4+
set linesize 1000
45
prompt RunExampleComplexSuiteWithCustomDBMSOutputReporter
56
@@RunExampleComplexSuiteWithCustomDBMSOutputReporter.sql
67
prompt RunExampleTestSuite
@@ -17,3 +18,5 @@ prompt RunExampleTestAnnotationBasedForCurrentSchema
1718
@@RunExampleTestAnnotationBasedForCurrentSchema.sql
1819
prompt RunExampleTestAnnotationsHugePackage
1920
@@RunExampleTestAnnotationsHugePackage.sql
21+
prompt RunExpectations
22+
@@RunExpectations.sql

examples/RunExpectations.sql

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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 linesize 1000
7+
set echo off
8+
--install the example unit test packages
9+
@@department.tps
10+
@@departments.tps
11+
@@demo_expectations.pck
12+
@@ut_custom_reporter.tps
13+
@@ut_custom_reporter.tpb
14+
15+
begin
16+
ut_suite_manager.run_cur_schema_suites_static(ut_custom_reporter(a_tab_size => 2), a_force_parse_again => true);
17+
end;
18+
/
19+
20+
drop type ut_custom_reporter;
21+
drop package demo_expectations;
22+
drop type departments$;
23+
drop type department$;
24+

0 commit comments

Comments
 (0)