Skip to content

Commit

Permalink
Windows: Fix getting started with aruba/run commands feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Nov 13, 2024
1 parent caf1dd0 commit 9c014c1
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion features/01_getting_started_with_aruba/run_commands.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Run commands with Aruba
Background:
Given I use a fixture named "getting-started-app"

@requires-bash
@requires-bash @unsupported-on-platform-windows
Scenario: Bash Program
Given an executable named "bin/aruba-test-cli" with:
"""bash
Expand Down Expand Up @@ -87,3 +87,22 @@ Feature: Run commands with Aruba
"""
When I successfully run `cucumber`
Then the features should all pass

@requires-platform-windows
Scenario: Windows .bat script
Given an executable named "bin/aruba-test-cli.bat" with:
"""
echo "Hello, Aruba!"
"""
Given a file named "features/hello_aruba.feature" with:
"""
Feature: Getting Started With Aruba
Scenario: First Run of Command
Given I successfully run `aruba-test-cli`
Then the output should contain:
\"\"\"
Hello, Aruba!
\"\"\"
"""
When I successfully run `cucumber`
Then the features should all pass

0 comments on commit 9c014c1

Please sign in to comment.