Thank you for considering contributing to Testify! This document outlines the process and guidelines for contributing to this project.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/Testify.git - Navigate to the project directory:
cd Testify - Install dependencies:
npm install - Create a new branch for your feature:
git checkout -b feature/your-feature-name
- Only make necessary changes related to your feature or bug fix
- Follow the existing code style and patterns
- Use meaningful variable and function names
- Add comments where necessary to explain complex logic
- Write or update tests for your changes when applicable
Important: Do not modify package.json unless:
- You need to add a new dependency
- You need to update a dependency version to fix a critical issue
- You're creating a new npm script
For version bumps, let the maintainers handle version changes in package.json as part of the release process.
We use a standardized commit message format to keep our git history clean and informative. Use our custom commit script:
npm run commitThis script will guide you through creating a properly formatted commit message in the format:
type: concise description of the change
Where "type" is one of:
feat: A new featurefix: A bug fixdocs: Documentation changesstyle: Code style changes (formatting, etc)refactor: Code refactoring with no feature changesperf: Performance improvementstest: Adding or updating testschore: Maintenance tasks, dependency updates, etcadd: Adding new features or filesupdate: Updating existing features or filesremove: Removing features or files
- Ensure your code follows the style guidelines and passes all tests
- Update documentation if necessary
- Push your changes to your fork:
git push origin feature/your-feature-name - Create a Pull Request from your fork to the main repository
- In your Pull Request description, include:
- What changes you've made
- Why you've made them
- How they work
- Any screenshots for UI changes
- Any relevant issue numbers (e.g., "Fixes #123")
For your PR to be considered:
- It must focus on a single feature or fix
- The code must be well-tested
- It should not include unrelated changes
- The commit history should follow our guidelines
- It must not break existing functionality
- The maintainers will review your PR
- They may request changes or clarifications
- Once approved, your PR will be merged
- Bug Reports: Use the Issues tab with the bug report template
- Feature Requests: Use the Issues tab with the feature request template
- Questions: Join our Discord server for questions rather than opening an issue
Thank you for contributing to Testify!