mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-08 10:24:51 +00:00
767 B
767 B
ShadowsocksX-NG2
See the root AGENTS.md for repository conventions and README.md for project and development documentation.
Testing principles
- Keep unit tests hostless and access packaged resources through explicit dependency injection.
- Isolate test resources to support parallel execution across multiple runners.
- Choose the smallest deterministic inputs that serve the assertions. When optimizing duration, preserve the tested workflow, scenario relationships, and timing semantics.
Before adding or modifying tests or optimizing test duration, read Writing and optimizing tests for framework selection, resource lookup, fixture design, and measurement methods.