Skip to content

Commit d15abef

Browse files
lucaspimentelclaude
andcommitted
add test style guideline to AGENTS.md
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 90cc70b commit d15abef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ tracer/src/Datadog.Trace
225225
- Projects: `*.Tests.csproj` under `tracer/test`, native under `profiler/test`.
226226
- Filters: `--filter "Category=Smoke"`, `--framework net6.0` as needed.
227227
- Docker: Many integration tests require Docker; services in `docker-compose.yml`.
228+
- Test style: Inline result variables in assertions. Prefer `SomeMethod().Should().Be(expected)` over storing intermediate `result` variables.
228229

229230
## Commit & Pull Request Guidelines
230231

0 commit comments

Comments
 (0)