-
Notifications
You must be signed in to change notification settings - Fork 611
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
[WIP] Testers/formatters refactoring #457
Merged
Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
39de83f
Refactored testers in Testwork. Added setup routines
everzet 3afc2f7
EventDispatcher extension provides dispatching testers
everzet 854ebba
HookExtension listens to events produced by dispatch able testers
everzet e0aad1e
Pretty formatter is just an event listeners tree
everzet c11902d
Properly tearDown all event-dispatching testers
everzet 1bdea54
StrictInterpretation::isFailure returns Boolean, not integer
everzet e989b91
SoftInterpretation implemented as a default result interpretation
everzet 6f63483
TestResult refactored to be an interface
everzet dd6b0fd
Setup and Teardown VOs were introduced to handle test setUp and tearDown
everzet 14c0fff
Hook scopes were introduced as a way to decouple hooks from events
everzet 5642c62
Hook subsystem was refactored to use scopes instead of events
everzet 023bf0b
Hookable testers are introduced
everzet c06bb0f
Event subsystem was refactored
everzet 06076b6
Refactored Behat to support Testwork changes
everzet c122b65
Printer helpers are in the appropriate namespace
everzet baa5335
Removed unused hook listener
everzet f284512
Removed non-used printer arguments and fixed broken doc blocks
everzet dcf22f4
Implemented scenario hook printer
everzet 1995d76
Implemented step hook printers
everzet cb4864d
Implemented example hooks printing
everzet 81a4027
Fixed wrong event usage
everzet d65dd74
Do not dispatch hooks on skip
everzet bdfa226
Setup outside of scenario scope do not impact others
everzet 16925fc
Print background step if its setup/teardown thrown exception
everzet 6168d5c
Implemented printers for suite/feature hooks
everzet 2f808e3
Implemented progress formatter
everzet aaaa200
Fixed fatal error in the statistics printer
everzet 028235c
Fixed wrong path usage for the step stat
everzet af5fdca
Fixed result_types.feature
everzet 4a25623
Fixed context.feature
everzet 384fa96
Fixed error_reporting.feature and format_options.feature
everzet 69a9fb0
Fixed hooks.feature
everzet 7028c92
Fixed i18n.feature
everzet a990b95
Fixed broken case of empty suite
everzet c531625
Fixed multiple_formats.feature
everzet b2fd5a4
Collect error strings instead of exception objects in collection
everzet ee431f1
Properly handle backgrounds/scenarios and examples without titles
everzet 51fb033
Ensure that SetUp and tearDown are always called. Event on --dry-run
everzet fe958a9
Print steps output with pretty formatter
everzet 87dd909
Fixed dry_run.feature
everzet a8545ba
Refactored OnlyFirstBackgroundFiresListener by moving responsibilitie…
everzet 3dffb25
Fixed ExerciseListener handling of pending steps
everzet 16d6f5a
Fixed stop_on_failure.feature
everzet 25e21b6
Fixed invalid multiple_formats.feature
everzet b6b71a4
Fixed name_filters.feature
everzet e478134
Fixed outlines.feature
everzet e7ca9bc
Fixed parameters.feature
everzet 3d5f36f
Fixed pretty_format.feature
everzet 428dca3
Fixed profiles.feature
everzet fbbe9ff
Fixed rerun.feature
everzet 2758067
SigintController moved to EventDispatcher extension
everzet c9e03d1
Refactor Behat\ApplicationFactory a bit
everzet d795147
Added back support for Symfony 2.1, 2.2, 2.3
everzet 2c37477
Clarify AfterStepTested method names
everzet 60e9f5c
Moved ExceptionResult interface to a Testwork
everzet 6d8b1b9
Simplified ExecutedStepResult::getException
everzet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Print steps output with pretty formatter
- Loading branch information
commit fe958a9daf749dbecd183103457d5bccd44ec5f3
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it intended to expand the background steps here now ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the background produced output, then it is rendered. Otherwise - not.