- Notifications
You must be signed in to change notification settings - Fork128
Run tests on windows#1111
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Run tests on windows#1111
Uh oh!
There was an error while loading.Please reload this page.
Conversation
c95ec0a toc388580CompareInterpolated values contain back-slashes on Windows, which make thestring literals in vitest.config.ts invalid.
Case-sensitivity varies across OS. On Linux/Mac, env var names thatdiffers in case only refer to different variables. On Windows it'sthe opposite: such variabled refer to the same variable.
c388580 to1a628fcCompare- fullName and package are now OS-independent - fullName doesn't include metadata tagsRefactor test plan check to use the utility function.
c5d2b7c tocacf0ebComparedelatrie commentedSep 16, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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 to813bfbcCompare
Context
Checklist