@@ -38,12 +38,12 @@ help:
3838 @echo " pre-commit hooks| ❌ | ❌ | ✅"
3939 @echo " "
4040 @echo " $( GREEN) Testing:$( NC) "
41- @echo " make test Run unit + integration tests (default)"
41+ @echo " make test Run unit + integration tests (default, no e2e )"
4242 @echo " make test-fast Run unit tests only (fastest, ~5 sec)"
4343 @echo " make test-unit Run unit tests with verbose output"
4444 @echo " make test-integration Run integration tests"
45- @echo " make test-e2e Run E2E tests (requires AWS credentials )"
46- @echo " make test-all Run ALL tests including E2E"
45+ @echo " make test-e2e Run E2E tests (AWS_PROFILE=china )"
46+ @echo " make test-all Run ALL tests including E2E (AWS_PROFILE=china) "
4747 @echo " make test-coverage Run tests with HTML coverage report"
4848 @echo " make test-manual Run manual test scenarios (~24 min)"
4949 @echo " "
6969 @echo " "
7070 @echo " $( YELLOW) Examples:$( NC) "
7171 @echo " make install-dev && make test-fast"
72- @echo " make test-coverage "
73- @echo " AWS_PROFILE=china make test-e2e"
72+ @echo " make test-all # Runs all tests with AWS_PROFILE=china "
73+ @echo " make test-e2e # Runs E2E tests with AWS_PROFILE=china "
7474 @echo " make deploy-verify && make deploy-install"
7575
7676# ==================== Setup ====================
@@ -107,12 +107,12 @@ install-dev-tools:
107107
108108test :
109109 @echo " $( BLUE) Running unit + integration tests...$( NC) "
110- pytest tests/unit tests/integration -v
110+ pytest tests/unit tests/integration -v -m " not e2e "
111111 @echo " $( GREEN) ✓ Tests complete$( NC) "
112112
113113test-fast :
114114 @echo " $( BLUE) Running unit tests (fast)...$( NC) "
115- pytest tests/unit -v
115+ pytest tests/unit -v -m " not e2e "
116116 @echo " $( GREEN) ✓ Unit tests complete$( NC) "
117117
118118test-unit :
@@ -127,18 +127,19 @@ test-integration:
127127
128128test-e2e :
129129 @echo " $( BLUE) Running E2E tests (requires AWS credentials)...$( NC) "
130- @echo " $( YELLOW) Ensure AWS_PROFILE is set or credentials are configured $( NC) "
131- pytest tests/e2e -m e2e -v
130+ @echo " $( YELLOW) Using AWS_PROFILE=china (default for this project) $( NC) "
131+ AWS_PROFILE=china pytest tests/e2e -m e2e -v
132132 @echo " $( GREEN) ✓ E2E tests complete$( NC) "
133133
134134test-all :
135135 @echo " $( BLUE) Running ALL tests (unit + integration + E2E)...$( NC) "
136- pytest tests/ -v
136+ @echo " $( YELLOW) Using AWS_PROFILE=china (default for this project)$( NC) "
137+ AWS_PROFILE=china pytest tests/unit tests/integration tests/e2e -v
137138 @echo " $( GREEN) ✓ All tests complete$( NC) "
138139
139140test-coverage :
140141 @echo " $( BLUE) Running tests with coverage report...$( NC) "
141- pytest tests/ --cov=src --cov-report=html --cov-report=term-missing --cov-report=term
142+ pytest tests/unit tests/integration tests/e2e --cov=src --cov-report=html --cov-report=term-missing --cov-report=term
142143 @echo " $( GREEN) ✓ Coverage report generated$( NC) "
143144 @echo " $( YELLOW) View HTML report: open htmlcov/index.html$( NC) "
144145
0 commit comments