mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 06:08:38 +01:00
Add .cursor/rules/ with: - code-quality.mdc - DRY, SSOT, minimal changes - testing.mdc - Testing guidelines 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
474 B
Plaintext
27 lines
474 B
Plaintext
---
|
|
description: "Testing guidelines - run tests, verify changes"
|
|
alwaysApply: false
|
|
globs: ["**/*.test.*", "**/*.spec.*", "**/tests/**"]
|
|
---
|
|
|
|
# Testing Rules
|
|
|
|
## Before Committing
|
|
|
|
1. Run the test suite
|
|
2. Verify all tests pass
|
|
3. Add tests for new functionality
|
|
|
|
## Test Quality
|
|
|
|
- Test behavior, not implementation
|
|
- Keep tests focused and readable
|
|
- Use descriptive test names
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
npm test # Run all tests
|
|
npm run test:watch # Watch mode
|
|
```
|