Skip to content

Commit 4055f93

Browse files
committed
parallel unit test
1 parent e9bfc1f commit 4055f93

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Makefile

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,62 @@ lint-githubaction-scripts:
5252
lint: lint-node lint-githubactions lint-githubaction-scripts react-lint
5353

5454
test: compile
55+
make -j 4 test-all
56+
57+
test-all: test-cloudfrontFunctions test-cpt-ui test-cdk test-cognito test-prescriptionListLambda test-prescriptionDetailsLambda test-patientSearchLambda test-middyErrorHandler test-pdsClient test-lambdaUtils test-trackerUserInfoLambda test-sessionManagementLambda test-selectedRoleLambda test-CIS2SignOutLambda test-authFunctions test-doHSClient test-dynamoFunctions test-clearActiveSessions
58+
59+
test-cloudfrontFunctions:
5560
npm run test --workspace packages/cloudfrontFunctions
61+
62+
test-cdk:
5663
npm run test --workspace packages/cdk
64+
65+
test-cpt-ui:
5766
npm run test --workspace packages/cpt-ui
67+
68+
test-cognito:
5869
npm run test --workspace packages/cognito
70+
71+
test-prescriptionListLambda:
5972
npm run test --workspace packages/prescriptionListLambda
73+
74+
test-prescriptionDetailsLambda:
6075
npm run test --workspace packages/prescriptionDetailsLambda
76+
77+
test-patientSearchLambda:
6178
npm run test --workspace packages/patientSearchLambda
79+
80+
test-middyErrorHandler:
6281
npm run test --workspace packages/common/middyErrorHandler
82+
83+
test-pdsClient:
6384
npm run test --workspace packages/common/pdsClient
85+
86+
test-lambdaUtils:
6487
npm run test --workspace packages/common/lambdaUtils
88+
89+
test-trackerUserInfoLambda:
6590
npm run test --workspace packages/trackerUserInfoLambda
91+
92+
test-sessionManagementLambda:
6693
npm run test --workspace packages/sessionManagementLambda
94+
95+
test-selectedRoleLambda:
6796
npm run test --workspace packages/selectedRoleLambda
97+
98+
test-CIS2SignOutLambda:
6899
npm run test --workspace packages/CIS2SignOutLambda
100+
101+
test-authFunctions:
69102
npm run test --workspace packages/common/authFunctions
103+
104+
test-doHSClient:
70105
npm run test --workspace packages/common/doHSClient
106+
107+
test-dynamoFunctions:
71108
npm run test --workspace packages/common/dynamoFunctions
109+
110+
test-clearActiveSessions:
72111
npm run test --workspace packages/testingSupport/clearActiveSessions
73112

74113
clean:

0 commit comments

Comments
 (0)