From a5d102298505428bd82a8872e5fc0e13a34a92ef Mon Sep 17 00:00:00 2001 From: William Calderipe Date: Fri, 5 Apr 2024 09:03:11 -0300 Subject: [PATCH] Update README --- README.md | 17 +++++++++++++++++ apps/policy-engine/README.md | 3 +++ apps/vault/README.md | 3 +++ 3 files changed, 23 insertions(+) diff --git a/README.md b/README.md index 549e01bf9..ca7e85e69 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,23 @@ make docker/up make docker/stop ``` +## Testing + +To run tests across all existing projects, you can use the following commands: + +```bash +# Run all tests +make test + +make test/type +make test/unit +make test/integration +make test/e2e +``` + +These commands utilize the NX CLI's run-many feature to execute the specified +targets (test or test:type) across all projects in the monorepo. + ## Formatting We use [Prettier](https://prettier.io/) and [ESLint](https://eslint.org/) to diff --git a/apps/policy-engine/README.md b/apps/policy-engine/README.md index 06464fafb..6f9b0af54 100644 --- a/apps/policy-engine/README.md +++ b/apps/policy-engine/README.md @@ -23,6 +23,9 @@ make policy-engine/start/dev ## Testing ```bash +# Run all tests +make policy-engine/test + make policy-engine/test/type make policy-engine/test/unit make policy-engine/test/integration diff --git a/apps/vault/README.md b/apps/vault/README.md index 8d9dc2d2b..dbba69bb9 100644 --- a/apps/vault/README.md +++ b/apps/vault/README.md @@ -19,6 +19,9 @@ make vault/start/dev ## Testing ```bash +# Run all tests +make vault/test + make vault/test/type make vault/test/unit make vault/test/integration