# AI-Assisted Test Generation — Resources

## AI & Prompting

- [Anthropic Claude Documentation](https://docs.anthropic.com/) — Claude API, prompting, best practices.
- [Claude Prompt Engineering](https://docs.anthropic.com/claude/docs/prompt-engineering) — Context, examples, and structure.
- [OpenAI Prompt Engineering](https://platform.openai.com/docs/guides/prompt-engineering) — General prompting patterns (apply to Claude).
- [Prompt Engineering Guide](https://www.promptingguide.ai/) — Techniques for better prompts across models.

## Testing Frameworks

- [Vitest](https://vitest.dev/) — Fast, ESM-native test runner. Great for JS/TS.
- [Jest](https://jestjs.io/) — Popular unit testing framework. Large ecosystem.
- [Playwright](https://playwright.dev/) — E2E testing. AI can help with selectors and flows.
- [Testing Library](https://testing-library.com/) — User-centric component tests. Specify in prompts.

## Articles

- [AI-Generated Tests: What to Watch For](https://martinfowler.com/articles/ai-testing.html) — Martin Fowler (if available) or similar. Pitfalls of AI tests.
- [Using AI for Test Automation](https://www.ministryoftesting.com/articles) — Ministry of Testing. Practical tips.
- [Test Doubles and Mocks](https://martinfowler.com/bliki/TestDouble.html) — So AI generates the right kind.
- [Meaningful Assertions](https://kentcdodds.com/blog/what-to-test) — Kent C. Dodds. What to verify.

## Tools

- [Cursor](https://cursor.com/) — AI-assisted IDE. Inline test generation.
- [GitHub Copilot](https://github.com/features/copilot) — Test generation in the editor.
- [Claude Code / Claude Codex](https://www.anthropic.com/product) — Coding-focused Claude.
- [Mocha / Chai](https://mochajs.org/) — Alternative test framework. Specify in prompts if used.

## Best Practices

- [Test Strategy — Martin Fowler](https://martinfowler.com/articles/practical-test-pyramid.html) — Foundation for what to test.
- [Test-Driven Development](https://martinfowler.com/bliki/TestDrivenDevelopment.html) — TDD and AI: who drives?
- [Refactoring with Tests](https://refactoring.com/) — Safe refactoring; AI-generated tests support this.

## Community

- [Ministry of Testing](https://www.ministryoftesting.com/) — Testing community, AI in testing discussions.
- [r/QualityAssurance](https://www.reddit.com/r/QualityAssurance/) — QA discussions, tool experiences.
- [Claude Community](https://www.anthropic.com/community) — Claude usage and prompting tips.
