Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added bind mount to DB docker at runtime to enable faster execution of scripts Removed need for sqlcl locally in build Added download of ojdbc and orai18n directly without click-through Cleanup of build scripts to make them more TRAVIS-agnostic
- Loading branch information
Showing
14 changed files
with
118 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,59 @@ | ||
create or replace package body test_documentation_reporter as procedure report_produces_expected_out is l_results ut3_develop.ut_varchar2_list; l_actual clob; l_expected varchar2(32767):=q'[%org utplsql tests helpers A suite for testing different outcomes from reporters <!beforeall!> A description of some context passing_test [% sec] <!beforeeach!> <!beforetest!> <!passing test!> <!aftertest!> <!aftereach!> a test with failing assertion [% sec] (FAILED - 1) <!beforeeach!> <!failing test!> <!aftereach!> a test raising unhandled exception [% sec] (FAILED - 2) <!beforeeach!> <!erroring test!> <!aftereach!> a disabled test [0 sec] (DISABLED) <!afterall!>%Failures:% 1) failing_test "Fails as values are different" Actual: 'number [1] ' (varchar2) was expected to equal: 'number [2] ' (varchar2)% at "UT3$USER#.TEST_REPORTERS%", line 36 ut3_develop.ut.expect('number [1] ','Fails as values are different').to_equal('number [2] ');%% 2) erroring_test ORA-06502: PL/SQL: numeric or value error: character to number conversion error ORA-06512: at "UT3$USER#.TEST_REPORTERS", line 44% ORA-06512: at line 6Finished in % seconds4 tests, 1 failed, 1 errored, 1 disabled, 0 warning(s)%]'; begin select * bulk collect into l_results from table( ut3_develop.ut.run( 'test_reporters', ut3_develop.ut_documentation_reporter() ) ); l_actual := ut3_tester_helper.main_helper.table_to_clob(l_results); ut.expect(l_actual).to_be_like(l_expected); end;end;/ | ||
create or replace package body test_documentation_reporter as | ||
|
||
procedure report_produces_expected_out is | ||
l_results ut3_develop.ut_varchar2_list; | ||
l_actual clob; | ||
l_expected varchar2(32767):=q'[%org | ||
utplsql | ||
tests | ||
helpers | ||
A suite for testing different outcomes from reporters | ||
<!beforeall!> | ||
A description of some context | ||
passing_test [% sec] | ||
<!beforeeach!> | ||
<!beforetest!> | ||
<!passing test!> | ||
<!aftertest!> | ||
<!aftereach!> | ||
a test with failing assertion [% sec] (FAILED - 1) | ||
<!beforeeach!> | ||
<!failing test!> | ||
<!aftereach!> | ||
a test raising unhandled exception [% sec] (FAILED - 2) | ||
<!beforeeach!> | ||
<!erroring test!> | ||
<!aftereach!> | ||
a disabled test [0 sec] (DISABLED) | ||
<!afterall!> | ||
% | ||
Failures: | ||
% | ||
1) failing_test | ||
"Fails as values are different" | ||
Actual: 'number [1] ' (varchar2) was expected to equal: 'number [2] ' (varchar2)% | ||
at "UT3$USER#.TEST_REPORTERS%", line 36 ut3_develop.ut.expect('number [1] ','Fails as values are different').to_equal('number [2] '); | ||
% | ||
% | ||
2) erroring_test | ||
ORA-06502: PL/SQL: numeric or value error: character to number conversion error | ||
ORA-06512: at "UT3$USER#.TEST_REPORTERS", line 44% | ||
ORA-06512: at line 6 | ||
Finished in % seconds | ||
4 tests, 1 failed, 1 errored, 1 disabled, 0 warning(s)%]'; | ||
|
||
begin | ||
select * | ||
bulk collect into l_results | ||
from table( | ||
ut3_develop.ut.run( | ||
'test_reporters', | ||
ut3_develop.ut_documentation_reporter() | ||
) | ||
); | ||
l_actual := ut3_tester_helper.main_helper.table_to_clob(l_results); | ||
ut.expect(l_actual).to_be_like(l_expected); | ||
end; | ||
|
||
end; | ||
/ |