-
Notifications
You must be signed in to change notification settings - Fork 185
Feature/support of context #629
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
Conversation
This file contains hidden or 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
Refactored suite_builder to be ready for context.
… no errors found)
…ent suite to child suite. Added `ut_utils.gc_rollback_default` and `ut_suite_item.get_rollback_type` to return default when rollback not set explicitly. Added support for `--%context`/`--%endcontext` annotations. Refactored `ut_executable` and `ut_executable_test` to have suite-agnostic constructor. Extended constructor for `ut_suite` to accept `a_name` separately from `a_object_name`. Removed `ut_suite_item_base` - leftover from refactoring of listener model. Significant changes to suite builder - added mechanism to display warnings for invalid annotations. Removed mis-located old tests.
Moved/fixed some constants.
# Conflicts: # source/api/ut_runner.pkb # source/core/ut_utils.pks # source/reporters/ut_teamcity_reporter.tpb
Added additional tests for suite_builder. Adjusted variable names to match convention. Fixed setting of nls_params for XMLTYPE conversion using DBMS_XMLGEN.
…attern, CLOB and escape char.
Pivoted matchers / types matrix.
Fixed issue with invalid object type passed to events `before_calling_test_execute` `after_calling_test_execute` Fixed cutting of multi-line comments when parsing-annotations. Annotation position now indicates line number of annotation in package.
64b291f
to
71d0b70
Compare
… multibyte text in it.
Added additional info in format: `at "OWNER.PACKAGE[.PROCEDURE]", line x` to annotation warnings.
Added additional warnings.
Added additional warnings.
Reorganized order of sections in annotations documentation.
…_context # Conflicts: # docs/userguide/annotations.md # source/api/ut_runner.pkb # source/core/types/ut_run.tps # source/core/ut_utils.pkb # source/core/ut_utils.pks # source/reporters/ut_xunit_reporter.tpb # test/install_tests.sql
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.
This PR addresses a bulk of changes:
Resolves #618 - propagate rollback type from parent suite
Resolves #523 - warnings are provided for bad/misplaced annotations
Resolves #335 - multiple/stacked before/after
Resolves #244 - contexts are now supported in suites
Additionally, major rework was done to the events architecture.
The concept of listener was changed and
ut_even_manager
was added.