-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run tests on windows #1111
Run tests on windows #1111
Conversation
1cbcaca
to
8d3412e
Compare
13977df
to
55027f0
Compare
c2f6d71
to
be0204c
Compare
beddaa8
to
0974fec
Compare
0974fec
to
c6cf131
Compare
c95ec0a
to
c388580
Compare
Interpolated values contain back-slashes on Windows, which make the string literals in vitest.config.ts invalid.
Case-sensitivity varies across OS. On Linux/Mac, env var names that differs in case only refer to different variables. On Windows it's the opposite: such variabled refer to the same variable.
c388580
to
1a628fc
Compare
- fullName and package are now OS-independent - fullName doesn't include metadata tags Refactor test plan check to use the utility function.
c5d2b7c
to
cacf0eb
Compare
Running tests on WindowsThe PR fixes test utilities of all packages to be runnable on Windows. New CI jobs will build & test packages on Windows in all future PRs. Typescript configuration files for testingPreviously, test files were covered by Casing of environment labelsGiven the following two environment variables:
When we give them to a process, it receives either two distinct variables (Linux, Mac) or just one (Windows). OS- and CWD-consistency of test resultsAll packages now calculate
The list of packages, fixed by this PR:
Allure-codeceptjs uses allure-mocha under the hood, which means it automatically inherits those behaviors. Newman-reporter-allure doesn't use FS paths, so it doesn't need to be fixed. Allure-mocha testCaseId collisionAllure-mocha mistakenly doesn't use the test file path when calculating |
211c937
to
813bfbc
Compare
Context
Checklist