Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Feature/introduce testing with accurate grants #893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Apr 3, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
133ecae
Adding new API user.
lwasylow Mar 22, 2019
9db8f4b
Separating tests.
lwasylow Mar 23, 2019
13f772a
Merge branch 'develop' of github.com:utPLSQL/utPLSQL into feature/int…
lwasylow Mar 24, 2019
c56943e
Update properties
lwasylow Mar 24, 2019
5afba10
Change user that executes tests as helper that is super user.
lwasylow Mar 24, 2019
7cd92e7
Adding next set of tests migrated.
lwasylow Mar 24, 2019
e2561bc
Adding next set of tests migrated.
lwasylow Mar 25, 2019
887e46a
Fixing test package
lwasylow Mar 25, 2019
28dbd1e
Added set of tests:
lwasylow Mar 25, 2019
d7eb125
Adding set of tests :
lwasylow Mar 25, 2019
99e1099
Adding schema prefix to failing tests from 12.1
lwasylow Mar 25, 2019
04cd36c
Fixing development scripts
lwasylow Mar 25, 2019
3e98723
Fixed bug for deployments with uninstall included.
jgebal Mar 25, 2019
ba83f8f
Merge branch 'feature/introduce_testing_with_accurate_grants' of gith…
lwasylow Mar 26, 2019
0bf1d9e
FIX : removal of non existing types from uninstall script
lwasylow Mar 26, 2019
e914d96
INSTALL:Is it too many monkeys ?:)
lwasylow Mar 26, 2019
174dcbc
Adding set of tests:
lwasylow Mar 26, 2019
0c05daf
Adding set of tests:
lwasylow Mar 26, 2019
80783c3
Adding set of tests:
lwasylow Mar 28, 2019
c4b08af
Adding set of tests:
lwasylow Mar 28, 2019
0618616
Adding set of tests:
lwasylow Mar 28, 2019
29295b7
Adding set of tests:
lwasylow Mar 29, 2019
30b0cfe
Adding set of tests:
lwasylow Mar 29, 2019
3cc34ea
Adding tests
lwasylow Mar 29, 2019
a6a848d
Adding tests:
lwasylow Mar 30, 2019
858372c
Adding set of tests:
lwasylow Mar 31, 2019
620fd61
Adding extra tests:
lwasylow Mar 31, 2019
e6b0673
Merge branch 'develop' of github.com:utPLSQL/utPLSQL into feature/int…
lwasylow Mar 31, 2019
c508e79
Adding tests:
lwasylow Apr 1, 2019
858a675
Fixing broken test.
lwasylow Apr 1, 2019
1642f47
Adding test:
lwasylow Apr 1, 2019
30d27fe
Adding global setup
lwasylow Apr 1, 2019
3b07c6a
Merge branch 'develop' of github.com:utPLSQL/utPLSQL into feature/int…
lwasylow Apr 2, 2019
a8dfa14
Merge branch 'develop' of github.com:utPLSQL/utPLSQL into feature/int…
lwasylow Apr 2, 2019
5d3b18c
Update cleanup script after branching from random order branch
lwasylow Apr 2, 2019
b56d27a
Fixed invalid suitepath in `core` package.
jgebal Apr 3, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding global setup
  • Loading branch information
lwasylow committed Apr 1, 2019
commit 30d27fedef6428c1a7d17752f2f82a3e54ef46b4
3 changes: 2 additions & 1 deletion 3 test/install_and_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ time utPLSQL-cli/bin/utplsql run ${UT3_TESTER_HELPER}/${UT3_TESTER_HELPER_PASSWO
-f=ut_junit_reporter -o=junit_test_results.xml \
-f=ut_tfs_junit_reporter -o=tfs_test_results.xml \
-f=ut_documentation_reporter -o=test_results.log -s \
-scc
-scc \
-q
3 changes: 2 additions & 1 deletion 3 test/install_ut3_user_tests.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ whenever oserror exit failure rollback
alter session set plsql_optimize_level=0;

prompt Install user tests
@@ut3_user/test_user.pks
@@ut3_user/expectations/unary/test_expect_not_to_be_null.pks
@@ut3_user/expectations/unary/test_expect_to_be_null.pks
@@ut3_user/expectations/unary/test_expect_to_be_empty.pks
Expand Down Expand Up @@ -42,7 +43,7 @@ set define on
@@install_below_12_2.sql 'ut3_user/reporters/test_coverage/test_html_proftab_reporter.pks'
set define off


@@ut3_user/test_user.pkb
@@ut3_user/expectations/unary/test_expect_not_to_be_null.pkb
@@ut3_user/expectations/unary/test_expect_to_be_null.pkb
@@ut3_user/expectations/unary/test_expect_to_be_empty.pkb
Expand Down
2 changes: 1 addition & 1 deletion 2 test/ut3_tester/core.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ create or replace package body core is
ut3.ut_coverage.set_develop_mode(true);
--improve performance of test execution by disabling all compiler optimizations
ut3_tester_helper.main_helper.execute_autonomous('ALTER SESSION SET PLSQL_OPTIMIZE_LEVEL=0');
dbms_output.enable(null);
--dbms_output.enable(null);
end;

end;
Expand Down
4 changes: 4 additions & 0 deletions 4 test/ut3_tester_helper/main_helper.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,9 @@ create or replace package body main_helper is
ut3.ut_utils.append_to_list(a_list,a_items);
end;

procedure output_null is
begin
dbms_output.enable(null);
end;
end;
/
2 changes: 2 additions & 0 deletions 2 test/ut3_tester_helper/main_helper.pks
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@ create or replace package main_helper is

procedure append_to_list(a_list in out nocopy ut3.ut_varchar2_rows, a_items ut3.ut_varchar2_rows);

procedure output_null;

end;
/
12 changes: 12 additions & 0 deletions 12 test/ut3_user/test_user.pkb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
create or replace package body test_user is

procedure global_setup is
begin
ut3.ut_coverage.set_develop_mode(true);
--improve performance of test execution by disabling all compiler optimizations
ut3_tester_helper.main_helper.execute_autonomous('ALTER SESSION SET PLSQL_OPTIMIZE_LEVEL=0');
--dbms_output.enable(null);
end;

end;
/
10 changes: 10 additions & 0 deletions 10 test/ut3_user/test_user.pks
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
create or replace package test_user is

--%suite
--%suitepath(utplsql)

--%beforeall
procedure global_setup;

end;
/
Morty Proxy This is a proxified and sanitized view of the page, visit original site.