You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zalan-racz-gaijin edited this page Jun 14, 2024
·
2 revisions
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.
Running E2E tests
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.