From 813546d03e3585b420be5aa84c4c5d4ad87bece8 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Mon, 14 Apr 2025 15:15:39 -0400 Subject: [PATCH] Update localDevelopment.md to explain how to run individual tests --- docs/localDevelopment.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/localDevelopment.md b/docs/localDevelopment.md index d1630347..3508b83c 100644 --- a/docs/localDevelopment.md +++ b/docs/localDevelopment.md @@ -56,6 +56,22 @@ npm run test:unit npm run test:integration ``` +### Run individual tests + +It's also possible to run individual tests. Below are some examples. + +```bash +npm run test:unit UpdateCollectionFeaturedItems.test.ts +``` + +```bash +npm run test:functional UpdateCollectionFeaturedItems.test.ts +``` + +```bash +npm run test:integration CollectionsRepository.test.ts +``` + #### Configure the integration testing environment The integration testing environment uses different environment variables, defined in a .env file, available in the _test/integration/environment_ folder.