ExTester: Your Essential UI Testing Companion for Visual Studio Code Extensions! Seamlessly execute UI tests with Selenium WebDriver, ensuring robustness and reliability in your extension development journey. Simplify UI testing for your VS Code extensions and elevate the quality of your user interface effortlessly.
Apache License 2.0
258
stars
70
forks
source link
feat: Support MOCHA_GREP/MOCHA_INVERT envvars #1262
This PR for allowing Mocha's grep/invert options through environment variables MOCHA_GREP and MOCHA_INVERT.
Following examples show how it can be used:
# Run the test case whose name is "ExtensionsView"
MOCHA_GREP="ExtensionsView" npm run test
# Run the test cases whose name is NOT "ExtensionsView"
MOCHA_GREP="ExtensionsView" MOCHA_INVERT=true npm run test
Before submitting your PR, please review the following checklist:
[X] CONSIDER adding a new test if your PR resolves an issue.
I did manually tested them. I thought it would be enough as the changes are simple enough.
[X] DO keep pull requests small so they can be easily reviewed.
[X] DO make sure tests pass.
[X] DO make sure any public APIs changes are documented.
[X] DO make sure not to introduce any compiler warnings.
Before merging the PR:
[ ] CHECK continuous integration of main branch is green.
[ ] CHECK pull request check job is green.
[ ] CHECK all pull request questions/requests are resolved.
[ ] WAIT till PR is approved by at least 1 committer.
This PR for allowing Mocha's grep/invert options through environment variables
MOCHA_GREP
andMOCHA_INVERT
. Following examples show how it can be used:Before submitting your PR, please review the following checklist:
Before merging the PR:
main
branch is green.