documentação do sistema

This commit is contained in:
Luis Eduardo Estevao
2026-05-05 16:12:52 -03:00
parent bbb5d68af1
commit 4652fea8fc
41 changed files with 1919 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
---
type: doc
name: testing-strategy
description: Test frameworks, patterns, coverage requirements, and quality gates
category: testing
generated: 2026-04-29
status: active
scaffoldVersion: "2.0.0"
---
# Testing Strategy
## Test Types
- **Unit**: Jasmine and Karma, files named `*.spec.ts`.
- **E2E**: Protractor (`e2e/` folder), files named `*.e2e-spec.ts`.
## Running Tests
- All tests: `npm run test` or `ng test`
- E2E tests: `npm run e2e` or `ng e2e`
- Watch mode: `npm run test -- --watch`
## Quality Gates
- Components should have accompanying `.spec.ts` files ensuring fundamental rendering and interactions.
- NgRx reducers and effects must be covered by unit tests.
- TypeScript strict typing helps catch compile-time issues before tests even run.