-
Notifications
You must be signed in to change notification settings - Fork 0
4.1 | E2E tests
The repository contains E2E tests for DSHL macros. E2E tests basically start a new instance of VS Code, open the provided workspace, and activate the extension. Then wait a bit (2s at the moment), do something, like trigger code completion, go to definition etc. and check the results.
If you want to execute only 1 suite
or test
, use the suite.only
, and the test.only
functions. If you want to skip a suite
or a test
, use the suite.skip
, and the test.skip
functions. Note that debugging and logging is limited in E2E tests, and it uses tsconfig.test.json, not the normal tsconfig.json.
To run E2E tests, just select Run E2E Tests in the Run and Debug tab. If you need more information, you can follow the Windows-specific guide and the Linux-specific-guide.