Files
chipsec-chipsec/.github/copilot-instructions.md
2026-04-21 15:21:11 -07:00

13 lines
610 B
Markdown

# Project general coding standards
## Testing
- Write unit tests for all new functionality
- Ensure existing tests pass before submitting changes
- Use mocks and stubs where appropriate to isolate units under test
- Strive for high test coverage, particularly for critical logic paths
- Use descriptive test names that clearly indicate the behavior being verified
- Add tests for edge cases and error conditions to ensure robustness
## Error Handling
- Always log errors with contextual information
- Exceptions are defined in the chipsec/library/exceptions module to avoid circular dependencies.