Prefer testing through public APIs
This commit is contained in:
@@ -327,6 +327,7 @@ This write-side component is designed to integrate with:
|
||||
|
||||
- **Configuration**: All configuration is TOML-based using `config.toml` (see `config.md`)
|
||||
- **Testing Strategy**: Run unit tests, benchmarks, and debug tools before submitting changes
|
||||
- **Test Design**: Prefer testing through public interfaces rather than implementation details (see `style.md` for detailed testing guidelines)
|
||||
- **Build System**: CMake generates gperf hash tables at build time; always use ninja
|
||||
- **Test Synchronization**:
|
||||
- **ABSOLUTELY NEVER use sleep(), std::this_thread::sleep_for(), or any timeout-based waiting in tests**
|
||||
|
||||
Reference in New Issue
Block a user