Skip to content
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

Handle announcing with DebugProcess #664

Merged
merged 5 commits into from
Aug 13, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add feature test for combining @debug and @announce
  • Loading branch information
mvz committed Aug 12, 2019
commit 3c0d98e9c34d7a86168cfba86c37562ab5a0eaf0
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,29 @@ Feature: Debug your command in cucumber-test-run
"""
7:\s+binding.pry
"""

Scenario: Can handle announcers
Given an executable named "bin/aruba-test-cli" with:
"""bash
#!/usr/bin/env bash

exit 0
"""
And a file named "features/debug.feature" with:
"""cucumber
Feature: Exit status in debug environment

@debug
@announce
Scenario: Run program with debug code
When I run `aruba-test-cli`
Then the exit status should be 0
"""
When I successfully run `cucumber`
Then the features should all pass
And the output should contain:
"""
<<-STDOUT
This is the debug launcher on STDOUT. If this output is unexpected, please check your setup.
STDOUT
"""