]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
docs(tests): add test style guide
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 18:22:56 +0000 (19:22 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 27 Feb 2026 18:22:56 +0000 (19:22 +0100)
commit364b90195a1692482fe25ceea563012c2bbb4b77
tree3b3c319e2b4efd574972e907f6dafe04cd26493f
parentb17f81facff881a623135995620245810d76225a
docs(tests): add test style guide

- Document naming conventions, AAA pattern, JSDoc requirements
- Cover constants usage, mock factories, cleanup hooks
- Include anti-patterns with explanations (as any, duplication, flaky tests)
- 18 sections with concrete examples from codebase
- Establishes foundation for consistent test quality
src/charging-station/ocpp/2.0/__testable__/index.ts [new file with mode: 0644]
tests/TEST_STYLE_GUIDE.md [new file with mode: 0644]