]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
docs(tests): enhance TEST_STYLE_GUIDE with async patterns and best practices
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Feb 2026 13:26:32 +0000 (14:26 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Feb 2026 13:26:32 +0000 (14:26 +0100)
commita7aea7cac9d02fc9bd3a4e3d2d6561f399aad77c
tree023fb6448e787740f6857d79f3a72b93b5c8ed73
parent28d0ad5f55d37c014abf155d9455278d6b0e546d
docs(tests): enhance TEST_STYLE_GUIDE with async patterns and best practices

- Add Testing Philosophy section with core principles
- Add Async Testing Patterns section (async/await, Promise rejection, timeout)
- Add Error & Exception Testing section with examples
- Soften AAA comments rule (required for complex, optional for simple tests)
- Add anti-pattern #6: Non-strict assertions guidance
- Align with Node.js test runner best practices 2024-2025
tests/TEST_STYLE_GUIDE.md