Files
main/rules-v0/solidity-hardhat-cursorrules-prompt-file/solidity-testing-and-quality-assurance.mdc
2025-02-27 00:04:07 +05:30

9 lines
601 B
Plaintext

---
description: Focuses on testing and quality assurance practices for Solidity smart contracts, including different types of tests, continuous integration, and security audits.
globs: test/**/*.js
---
- Implement a comprehensive testing strategy including unit, integration, and end-to-end tests.
- Use property-based testing to uncover edge cases.
- Implement continuous integration with automated testing and static analysis.
- Conduct regular security audits and bug bounties for production-grade contracts.
- Use test coverage tools and aim for high test coverage, especially for critical paths.