mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
chore: update AGENTS.md
Co-authored-by: Andrew Gillis <11790789+gammazero@users.noreply.github.com>
This commit is contained in:
parent
caf98105f7
commit
e4a32f843d
@ -144,7 +144,7 @@ pkill -f "ipfs daemon"
|
||||
- all new integration tests go in `test/cli/`, not `test/sharness/`
|
||||
- if a `test/sharness` test needs significant changes, remove it and add a replacement in `test/cli/`
|
||||
- use [testify](https://github.com/stretchr/testify) for assertions (already a dependency)
|
||||
- for Go 1.24+, use `testing/synctest` when testing concurrent code (goroutines, channels, timers)
|
||||
- for Go 1.25+, use `testing/synctest` when testing concurrent code (goroutines, channels, timers)
|
||||
- reuse existing `.car` fixtures in `test/cli/fixtures/` when possible; only add new fixtures when the test requires data not covered by existing ones
|
||||
- always re-run modified tests locally before submitting to confirm they pass
|
||||
- avoid emojis in test names and test log output
|
||||
|
||||
Loading…
Reference in New Issue
Block a user