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
Feature/introduce testing with accurate grants #893
Merged
jgebal
merged 36 commits into
develop
from
feature/introduce_testing_with_accurate_grants
Apr 3, 2019
Merged
Feature/introduce testing with accurate grants #893
jgebal
merged 36 commits into
develop
from
feature/introduce_testing_with_accurate_grants
Apr 3, 2019
Conversation
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
…roduce_testing_with_accurate_grants
expectations/binary/test_equal expectations/binary/test_expect_to_be_less_than expectations/test_expectation_anydata expectations/test_expectation_processor
expectations/binary/test_be_less_or_equal changing name of function to more meaningful.
expectations/binary/test_be_greater_or_equal expectations/binary/test_be_greater_than expectations/unary/test_expect_not_to_be_null Passing username implicit into ut_test_runner.
expectations/unary/test_expect_to_be_empty expectations/unary/test_expect_to_be_null expectations/unary/test_expect_to_be_true_false expectations/unary/test_expect_to_have_count Adding dummy type for testing.
Added new user to `template.env.sh`
…ub.com:utPLSQL/utPLSQL into feature/introduce_testing_with_accurate_grants
api/test_ut_run
api/test_ut_run
api/test_ut_run
core/annotations/test_annotation_parser core/annotations/test_annot_throws_exception core/annotations/test_annotation_manager
core/test_ut_test core/test_ut_utils
core/test_ut_executable core/test_ut_suite
core/test_file_mapper core/test_output_buffer core/test_suite_manager core/test_ut_executable
core/test_suite_builder
reporters reporters/test_junit_reporter reporters/test_sonar_test_reporter reporters/test_teamcity_reporter reporters/test_tfs_junit_reporter
reporters/test_coverage reporters/test_debug_reporter reporters/test_documentation_reporter reporters/test_extended_coverage reporters/test_realtime_reporter Fixing some helper methods.
reporters/test_coverage/test_cov_cobertura_reporter reporters/test_coverage/test_coverage_sonar_reporter reporters/test_coverage/test_coveralls_reporter reporters/test_coverage/test_html_extended_reporter
…roduce_testing_with_accurate_grants
reporters/test_coverage reporters/test_coverage/test_html_proftab_reporter reporters/test_proftab_coverage
Adding test: reporters/test_coverage/test_html_extended_reporter reporters/test_extended_coverage
unary/test_expect_to_be_not_null
…roduce_testing_with_accurate_grants
jgebal
reviewed
Apr 2, 2019
…roduce_testing_with_accurate_grants
Only 6 tests are missing now - Develop has 799 tests: https://travis-ci.org/utPLSQL/utPLSQL/jobs/514642945#L6244 |
These missing ones are the minimum test user which are no longer required as the whole public api tests are minimal user |
I'm doing a tiny change - will push it soon and we can go ahead with the PR |
Updated cli version to 3.1.6 Added top package `utplsql` with dbms_output.enable for both test users. Renamed suitepath to match username (ut3_tester)
jgebal
approved these changes
Apr 3, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #867
It introduces a new user
ut3$user#
that have minimum privileges and move all public API tests into that schema. Userut3_tester
is a internal framework testing user who tests functions not exposed to public.Last user is one that calls CLI and is elevated privileges user
ut3_tester_helper
this user is created for purpose of allowing setup and teardown some test data for other users as well as provide some methods used during expectations check.