From 9c014c1f83cb3222367f91d2cc2f76be727f0487 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Sat, 19 Jun 2021 14:24:17 +0200 Subject: [PATCH] Windows: Fix getting started with aruba/run commands feature --- .../run_commands.feature | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/features/01_getting_started_with_aruba/run_commands.feature b/features/01_getting_started_with_aruba/run_commands.feature index 7de6b5ad3..b2b264a02 100644 --- a/features/01_getting_started_with_aruba/run_commands.feature +++ b/features/01_getting_started_with_aruba/run_commands.feature @@ -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 @@ -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