Skip to content

enhancement: support Windows testing and terminal behavior - #45

Merged
codeforester merged 4 commits into
mainfrom
enhancement/38-20260801-windows-terminal
Aug 2, 2026
Merged

enhancement: support Windows testing and terminal behavior#45
codeforester merged 4 commits into
mainfrom
enhancement/38-20260801-windows-terminal

Conversation

@codeforester

Copy link
Copy Markdown
Contributor

Summary

  • add a cross-platform shell identifier with a COMSPEC fallback on Windows;
  • make terminal detection tolerate streams that raise ValueError from isatty();
  • keep color and redirected-output behavior deterministic;
  • document the Windows-aware test environment variables;
  • add regression coverage for shell, terminal, and output behavior.

Fixes #38

Validation

  • uv run --no-project --with pytest --with click --with PyYAML python -m pytest
  • ./tests/validate.sh

111 tests passed.

@codeforester
codeforester marked this pull request as ready for review August 2, 2026 02:08
@codeforester
codeforester merged commit e5d8323 into main Aug 2, 2026
11 checks passed
@codeforester
codeforester deleted the enhancement/38-20260801-windows-terminal branch August 2, 2026 02:08
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.

Add native Windows compatibility for base-cli testing and terminal behavior

1 participant