Skip to content

Commit 813546d

Browse files
authored
Update localDevelopment.md to explain how to run individual tests
1 parent b56897f commit 813546d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/localDevelopment.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,22 @@ npm run test:unit
5656
npm run test:integration
5757
```
5858

59+
### Run individual tests
60+
61+
It's also possible to run individual tests. Below are some examples.
62+
63+
```bash
64+
npm run test:unit UpdateCollectionFeaturedItems.test.ts
65+
```
66+
67+
```bash
68+
npm run test:functional UpdateCollectionFeaturedItems.test.ts
69+
```
70+
71+
```bash
72+
npm run test:integration CollectionsRepository.test.ts
73+
```
74+
5975
#### Configure the integration testing environment
6076

6177
The integration testing environment uses different environment variables, defined in a .env file, available in the _test/integration/environment_ folder.

0 commit comments

Comments
 (0)