Skip to content

Commit 5886d3c

Browse files
committed
tests: Remove integration tests from the codebase
Integration tests are hard to fix and maintain in their current state Refs: * Discussion - #227 (comment)
1 parent a0c550c commit 5886d3c

File tree

12 files changed

+3
-364
lines changed

12 files changed

+3
-364
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ src/configurationType.ts
33
src/configurationTypeCache.jsonc
44
playground.ts
55
test.ts
6-
integration/fixtures

CONTRIBUTING.MD

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ To start the VS Code plugin extension locally for developing:
3131

3232
#### Unit Tests
3333

34-
> Note: currently project doesn't use integration testing so you can ignore `integration` folder
34+
They are in `typescript/test` and using vitest. Feel free to add new tests here. But note that most of tests are completion tests, but I do hope to add more types tests in the future.
3535

36-
They are in `typescript/test` and using vitest, so they faster than integration. Feel free to add new tests here. But note that most of tests are completion tests, but I do hope to add more types tests in the future.
37-
38-
To launch them run `pnpm test-plugin`.
39-
40-
#### Integration Tests
41-
42-
They are in `integration`. This type of tests launches VSCode. For now I don't recommend either running or adding new tests here, use unit tests.
43-
> Note that while running this script, you must also keep `pnpm start` running in the background. However, changing a file in `src/`, won't relaunch integration tests. If this is your case, you should edit the script.
36+
To launch them run `pnpm test-plugin`.

integration/fixtures/test-project/jsconfig.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

integration/fixtures/test-project/src/completions.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

integration/fixtures/test-project/src/index.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

integration/index.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

integration/prerun.mjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

integration/runTests.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

integration/suite/outline.test.ts

Lines changed: 0 additions & 176 deletions
This file was deleted.

integration/suite/utils.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)