Skip to main content

Running Test Cases

CodeValid continuously monitors your repository and automatically runs tests whenever code changes are made.
Think of it as automatic testing and bug detection integrated into your development workflow.

When you make changes and create a pull request:

  • CodeValid analyzes the changes
  • Runs all relevant test cases
  • Provides a summary of the test run
  • If any tests fail, it generates a root cause analysis and suggests code fixes that you can review and commit

Tip: This ensures every change is validated against your specifications and maintains code quality automatically.


Steps to Run Test Cases

  1. Make changes in your feature branch.
  2. Create a pull request.
  3. CodeValid will automatically assign itself as a reviewer in GitHub.
  4. Wait a few minutes while CodeValid completes the testing process.
  5. CodeValid produces:
    • A summary of test execution showing passed and failed tests
    • If there are failures, a root cause analysis explaining the issue
    • Suggested code fixes with an option to commit the changes directly

Tip: This workflow helps you catch issues early, reduces manual testing effort, and ensures that fixes are aligned with your specifications.