|
4 | 4 |
|
5 | 5 | [](https://www.python.org/downloads/) |
6 | 6 | [](https://www.amazonaws.cn/) |
7 | | -[]() |
| 7 | +[]() |
8 | 8 |
|
9 | 9 | --- |
10 | 10 |
|
@@ -92,7 +92,7 @@ All dependencies are defined in `pyproject.toml`: |
92 | 92 | |----------|-------------|----------| |
93 | 93 | | **[Deployment Guide](docs/deployment_guide.md)** | **START HERE** - Complete vehicle deployment | Operators, DevOps | |
94 | 94 | | **[Complete Reference](docs/complete_reference.md)** | All features, configuration, examples | All Users | |
95 | | -| **[Testing Guide](docs/autonomous_testing_guide.md)** | Running 400+ automated tests | Developers | |
| 95 | +| **[Testing Guide](docs/autonomous_testing_guide.md)** | Running 426+ automated tests (unit/integration/E2E/manual) | Developers | |
96 | 96 | | **[GitHub Actions OIDC](docs/github_actions_oidc_setup.md)** | CI/CD setup without stored credentials | DevOps | |
97 | 97 |
|
98 | 98 | --- |
@@ -252,27 +252,34 @@ See [Configuration Reference](./docs/configuration_reference.md#pattern) for det |
252 | 252 |
|
253 | 253 | ## 🧪 Testing |
254 | 254 |
|
255 | | -**400+ automated tests** covering all functionality: |
| 255 | +**420+ automated tests** covering all functionality: |
256 | 256 |
|
257 | 257 | ```bash |
258 | 258 | # Fast local tests (unit + integration) |
259 | | -./scripts/testing/run_tests.sh fast |
260 | | -
|
261 | | -# Full suite with coverage |
262 | | -./scripts/testing/run_tests.sh all --coverage |
| 259 | +make test-fast # Unit tests (~5s) |
| 260 | +make test # Unit + integration (~40s) |
263 | 261 |
|
264 | 262 | # E2E tests (requires AWS) |
265 | | -AWS_PROFILE=china ./scripts/testing/run_tests.sh e2e |
| 263 | +make test-e2e # E2E tests (~7.5 min) |
266 | 264 |
|
267 | | -# Manual test suite (17 scenarios, end-to-end validation) |
| 265 | +# Manual test scenarios |
| 266 | +make test-manual # 17 core manual tests (~2.5 hours) |
| 267 | +make test-gap # 5 gap tests (~30 min) |
| 268 | +make test-all-manual # All manual tests (~3 hours) |
| 269 | +
|
| 270 | +# Or use scripts directly |
| 271 | +./scripts/testing/run_tests.sh fast |
| 272 | +./scripts/testing/run_tests.sh all --coverage |
268 | 273 | ./scripts/testing/run_manual_tests.sh |
| 274 | +./scripts/testing/gap-tests/run_gap_tests.sh |
269 | 275 | ``` |
270 | 276 |
|
271 | 277 | **Test Coverage:** |
272 | | -- ✅ 249 unit tests (fast, fully mocked) |
273 | | -- ✅ 90 integration tests (mocked AWS) |
274 | | -- ✅ 60 E2E tests (real AWS S3) |
275 | | -- ✅ 17 manual test scenarios |
| 278 | +- ✅ 249 unit tests (fast, fully mocked, ~5s) |
| 279 | +- ✅ 90 integration tests (mocked AWS, ~35s) |
| 280 | +- ✅ 60 E2E tests (real AWS S3, ~7.5min) |
| 281 | +- ✅ 17 core manual test scenarios (~2.5 hours) |
| 282 | +- ✅ 5 gap test scenarios (~30 min) |
276 | 283 | - ✅ 90%+ code coverage |
277 | 284 |
|
278 | 285 | See [Testing Guide](docs/autonomous_testing_guide.md) for details. |
@@ -372,13 +379,14 @@ tvm-upload/ |
372 | 379 | │ ├── disk_manager.py # Disk management |
373 | 380 | │ ├── queue_manager.py # Queue persistence |
374 | 381 | │ └── cloudwatch_manager.py |
375 | | -├── tests/ # Test suite (400+ tests) |
376 | | -│ ├── unit/ # Fast unit tests |
377 | | -│ ├── integration/ # Integration tests |
378 | | -│ └── e2e/ # End-to-end tests |
| 382 | +├── tests/ # Test suite (399+ automated tests) |
| 383 | +│ ├── unit/ # 249 fast unit tests |
| 384 | +│ ├── integration/ # 90 integration tests |
| 385 | +│ └── e2e/ # 60 end-to-end tests |
379 | 386 | ├── scripts/ |
380 | 387 | │ ├── deployment/ # install.sh, uninstall.sh, verify_deployment.sh |
381 | | -│ ├── testing/ # run_tests.sh, run_manual_tests.sh |
| 388 | +│ ├── testing/ # run_tests.sh, manual-tests/ (17 tests) |
| 389 | +│ │ └── gap-tests/ # run_gap_tests.sh (5 tests + 6 advanced tests = 11 tests) |
382 | 390 | │ ├── diagnostics/ # Troubleshooting tools |
383 | 391 | │ └── lib/ # Shared libraries |
384 | 392 | ├── docs/ # Documentation |
|
0 commit comments