Skip to content

Extract out Writing Tests to document nextest processes#1281

Open
DavisVaughan wants to merge 3 commits into
mainfrom
fix/claude-nextest
Open

Extract out Writing Tests to document nextest processes#1281
DavisVaughan wants to merge 3 commits into
mainfrom
fix/claude-nextest

Conversation

@DavisVaughan

Copy link
Copy Markdown
Contributor

We don't actually say in AGENTS.md that nextest means we don't have to worry about test hygiene, so lets give this a try? Might also give us a place to document other test specific conventions

@DavisVaughan DavisVaughan requested a review from lionel- June 22, 2026 13:46

@lionel- lionel- left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but I'd make a bit terser for reasons explained inline.

Comment thread AGENTS.md

Prefer simple assertion macros without custom error messages:

```rust

@lionel- lionel- Jun 23, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit worried about overloading our agents file with test styling instructions. So I'd prefer making this section terser. It's normal for past instructions to get increasingly ignored as the context gets longer anyway, but we pay the cost of the base agents prompt on every exchange (much less when cached but it's easy for the cache to get flushed).

If styling is super important the best way is to extract in a skill for the reviewing agent, because then the instructions will be fresh and the focus of the agent.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was pulled almost directly from a separate section where it was previously just a bullet point. The code block seemed easier to understand?

Can you please suggest an alternative that you are happy with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants