Generate snapshot tests with Verify (.NET) or Jest snapshots
Generate snapshot tests for API responses and component rendering.
dotnet add package Verify.Xunit
[Fact]
public Task GetCandidate_ReturnsExpectedShape()
{
var result = service.GetById("test-id");
return Verify(result);
}
test('CandidateCard renders correctly', () => {
const { container } = render(<CandidateCard candidate={mockCandidate} />);
expect(container).toMatchSnapshot();
});
<target>: Class or component to snapshot--framework=<verify|jest>: Testing frameworkSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer
Tags:testing, snapshot, verify, regression