Skip to content

Test on Windows: Make features in section 2 pass#968

Open
mvz wants to merge 22 commits intomainfrom
run-cucumber-features-section-2-on-windows
Open

Test on Windows: Make features in section 2 pass#968
mvz wants to merge 22 commits intomainfrom
run-cucumber-features-section-2-on-windows

Conversation

@mvz
Copy link
Contributor

@mvz mvz commented Dec 21, 2025

Summary

This makes GitHub Actions additionally run the Cucumber scenarios in section 02 (configure Aruba) on Windows, and makes them pass.

Details

This cherry-picks commits from #894 (and originally from other pull requests) that affect scenarios from section 02, and adds one new commit for a remaining feature from that section. All changes are changes to the scenario's, not Aruba's code.

  • Run cucumber scenarios from section 2 on Windows in CI
  • CI: Windows - Fixed 02_Configuring_Aruba\HomeDirectory feature.
  • Make 02_configure_aruba/basics feature platform-independent
  • Make 02_configure_aruba/exit_timeout feature platform-independent

Motivation and Context

Another small step toward fully testing on Windows.

How Has This Been Tested?

I ran the cukes locally. Proof on Windows must come from CI.

Types of changes

  • Internal change (refactoring, test improvements, developer experience or update of dependencies)

@mvz
Copy link
Contributor Author

mvz commented Dec 21, 2025

I'm beginning to suspect the exit_timeout setting simply does not work on Windows.

@mvz mvz force-pushed the run-cucumber-features-section-2-on-windows branch 2 times, most recently from 4e0743d to 20b1ac0 Compare December 21, 2025 10:05
@mvz
Copy link
Contributor Author

mvz commented Dec 21, 2025

The exit_timeout setting works, but on Windows, the exit status is set to 0 when Ruby kills a process: https://github.com/ruby/ruby/blob/038b158fa30d1b1cda153aeb10dac5f59f966036/win32/win32.c#L5017

@mvz mvz force-pushed the run-cucumber-features-section-2-on-windows branch from 4bec7ab to 79bdbe8 Compare February 1, 2026 10:33
@mvz mvz force-pushed the run-cucumber-features-section-2-on-windows branch from 9c83dcc to 87e0d02 Compare February 3, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants