Skip to content

Commit af50514

Browse files
docs: add information on Vitest support for Analog and Angular
1 parent f35c8f9 commit af50514

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

apps/docs-app/docs/features/testing/overview.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,30 @@ Vitest supports many features:
1818
- In-source testing.
1919
- And more ...
2020

21+
You can also [add Vitest](/docs/features/testing/vitest) to your existing project.
22+
23+
## Angular support for Vitest
24+
25+
In Angular v21, stable support for Vitest directly through the Angular CLI was introduced for new Angular projects. While both Analog and Angular support running tests with Vitest, there are some similarities and key differences.
26+
27+
The table below shows the features available across both choices.
28+
29+
| Vitest | Analog | Angular |
30+
| ------------------ | --------- | ------------ |
31+
| Angular Versions | v17+ | v21+ |
32+
| Support | Community | Angular Team |
33+
| Builders |||
34+
| Schematics |||
35+
| Migrations |||
36+
| Fully Configurable || ⚠️ |
37+
| Vitest CLI |||
38+
| Vitest Workpsaces |||
39+
| IDE extensions |||
40+
| Buildable Libs |||
41+
| Plugins |||
42+
43+
The table above is not to compare the two solutions, but to provide the information on what features are supported by each implementation. Choose the solution that best fits your needs and priorities.
44+
2145
## Running Unit Tests
2246

2347
To run unit tests, use the `test` command:
@@ -48,8 +72,6 @@ pnpm run test
4872
</TabItem>
4973
</Tabs>
5074

51-
You can also [add Vitest](/docs/features/testing/vitest) to your existing project.
52-
5375
## IDE Support
5476

5577
Tests can also be run directly from your IDE using the Vitest [IDE integrations](https://vitest.dev/guide/ide) for VS Code or JetBrains IDEs.

0 commit comments

Comments
 (0)