Skip to content

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 30 commits into from
Apr 25, 2018
Merged

Feature/support of context #629

merged 30 commits into from
Apr 25, 2018

Conversation

jgebal
Copy link
Member

@jgebal jgebal commented Apr 7, 2018

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.

jgebal added 15 commits March 24, 2018 22:51
Refactored suite_builder to be ready for context.
…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.
@jgebal jgebal added this to the v3.1.0 milestone Apr 7, 2018
jgebal added 4 commits April 7, 2018 22:36
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.
@jgebal jgebal force-pushed the feature/support_of_context branch from 64b291f to 71d0b70 Compare April 14, 2018 22:28
jgebal added 8 commits April 16, 2018 21:37
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
@jgebal jgebal merged commit 8c532ce into develop Apr 25, 2018
@jgebal jgebal deleted the feature/support_of_context branch April 25, 2018 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant