Replace MOCHA_GREP with TEST_NAME_PATTERN (#34404)

GitOrigin-RevId: b1b2d1be3d0725f930d83ef035836482ffb72dcd
This commit is contained in:
Anna Claire Fields
2026-09-17 11:45:29 +00:00
committed by Copybot
parent daf4a0e412
commit a63fd554c3
37 changed files with 47 additions and 40 deletions
+6 -6
View File
@@ -46,7 +46,7 @@ make test_unit
During development it is often useful to only run a subset of tests, which can be configured with arguments to the mocha CLI:
```
make test_unit MOCHA_GREP='AuthorizationManager'
make test_unit TEST_NAME_PATTERN='AuthorizationManager'
```
To run only the unit tests for a single module do:
@@ -55,10 +55,10 @@ To run only the unit tests for a single module do:
make test_unit_module MODULE=saas-authentication
```
Module tests can also use a MOCHA_GREP argument:
Module tests can also use a TEST_NAME_PATTERN argument:
```
make test_unit_module MODULE=saas-authentication MOCHA_GREP=SSO
make test_unit_module MODULE=saas-authentication TEST_NAME_PATTERN=SSO
```
### Acceptance Tests
@@ -84,7 +84,7 @@ make test_acceptance_app_stop_service
During development it is often useful to only run a subset of tests, which can be configured with arguments to the mocha CLI:
```
make test_acceptance_run MOCHA_GREP='AuthorizationManager'
make test_acceptance_run TEST_NAME_PATTERN='AuthorizationManager'
```
To run only the acceptance tests for a single module do:
@@ -93,10 +93,10 @@ To run only the acceptance tests for a single module do:
make test_acceptance_module MODULE=saas-authentication
```
Module tests can also use a MOCHA_GREP argument:
Module tests can also use a TEST_NAME_PATTERN argument:
```
make test_acceptance_module MODULE=saas-authentication MOCHA_GREP=SSO
make test_acceptance_module MODULE=saas-authentication TEST_NAME_PATTERN=SSO
```
## Routes