-
Unit Tests
- All new features must include unit tests
- Use Google Test framework
- Place tests in
tests/directory - Name tests
*_test.cpp
-
Test Structure
TEST(ClassNameTest, FunctionName_Scenario_ExpectedBehavior) { // Arrange // Act // Assert }
-
Code Documentation
- Document all public APIs
- Use clear and concise comments
- Update README.md when needed
- Include examples for new features
-
Documentation Style
/** * Brief description * * @param param_name Description of parameter * @return Description of return value * @throws Description of exceptions */
-
Bug Reports
- Use the bug report template
- Include minimal reproduction steps
- Specify environment details
- Include error messages and logs
-
Feature Requests
- Use the feature request template
- Explain the use case
- Describe expected behavior
- Provide examples if possible
- All PRs require at least one review
- Address all review comments
- Keep PR scope focused
- Maintain clear communication
Feel free to:
- Open a discussion
- Contact maintainers directly
Thank you for contributing to Gloom!