Skip to content

feat(tests): add cross-platform test utilities#24

Open
lkk214 wants to merge 1 commit intocontinuedev:mainfrom
lkk214:feat/add-cross-platform-test-utilities
Open

feat(tests): add cross-platform test utilities#24
lkk214 wants to merge 1 commit intocontinuedev:mainfrom
lkk214:feat/add-cross-platform-test-utilities

Conversation

@lkk214
Copy link

@lkk214 lkk214 commented Jul 5, 2025

Description

Introduce common_test.go with helper functions for cross-platform testing:

  • testBinaryName() handles platform-specific binary extensions
  • cleanupTestPath() provides consistent test cleanup
  • Normalize paths with filepath.ToSlash() for consistent comparisons

Refactor tests to use these utilities for better Windows compatibility.

Introduce common_test.go with helper functions for cross-platform testing:
- `testBinaryName()` handles platform-specific binary extensions
- `cleanupTestPath()` provides consistent test cleanup
- Normalize paths with `filepath.ToSlash()` for consistent comparisons
Refactor tests to use these utilities for better Windows compatibility.
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.

1 participant