-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #973 'Integrate new core events'. Update History.md.
- Loading branch information
Showing
33 changed files
with
249 additions
and
656 deletions.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
Dir[File.dirname(__FILE__) + '/events/*.rb'].map(&method(:require)) | ||
|
||
module Cucumber | ||
|
||
# Events tell you what's happening while Cucumber runs your features. | ||
# | ||
# They're designed to be read-only, appropriate for writing formatters and other | ||
# output tools. If you need to be able to influence the result of a scenario, use a hook instead. | ||
# output tools. If you need to be able to influence the result of a scenario, use a {RbSupport::RbDsl hook} instead. | ||
# | ||
# To subscribe to an event, use {Cucumber::Configuration#on_event} | ||
# | ||
# @example | ||
# AfterConfiguration do |config| | ||
# config.on_event :after_test_step do |event| | ||
# config.on_event :test_case_finished do |event| | ||
# puts event.result | ||
# end | ||
# end | ||
# | ||
module Events | ||
def self.registry | ||
Core::Events.build_registry( | ||
StepMatch, | ||
TestRunFinished, | ||
) | ||
end | ||
end | ||
end | ||
|
||
Dir[File.dirname(__FILE__) + '/events/*.rb'].map(&method(:require)) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.