Add k6 performance and load testing rule#306
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR introduces a new k6 performance testing Cursor rule to the awesome-cursorrules repository. A new rule file provides comprehensive guidance for writing k6 load, stress, and soak tests using TypeScript, covering test organization, metrics, thresholds, data handling, and CI/CD integration. The README Testing section is updated to list this rule alongside existing test-related entries. Changesk6 Performance Testing Cursor Rule
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Adds a k6 performance and load testing rule to the Testing section.
The Testing list currently covers unit, E2E, integration, accessibility, and API testing, but there is no performance or load testing entry yet. This fills that gap.
The rule follows the same structure as the existing testing rules: frontmatter, an expert persona, TypeScript auto-detection, and focused sections for load patterns, checks and thresholds, custom metrics, test data with SharedArray, environment and secrets, and CI/CD reporting.
Adapted from a k6 framework setup I maintain here: https://github.com/tugkanboz/awesome-cursorrules
Summary by CodeRabbit