-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutation test POC #157
base: main
Are you sure you want to change the base?
Mutation test POC #157
Conversation
CI Failure Feedback 🧐(Checks updated until commit 3c49340)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
Updated log and LLM call.
aa47d47
to
f0e6d87
Compare
/describe |
PR Description updated to latest commit (f0e6d87)
|
/ask This Pull Request adds a new feature called mutation testing. I need to add a markdown file under the
Feel free to propose any other sections that you feel is pertinent that I may have overlooked (based on this PR) |
Ask❓This Pull Request adds a new feature called mutation testing. I need to add a markdown file under the Answer:To create a markdown file under the Mutation Testing in Cover AgentOverview of Mutation TestingMutation testing is a technique used to evaluate the quality and effectiveness of test suites. It involves making small changes, or "mutations," to the source code and then running the test suite to see if the tests can detect the changes. The goal is to ensure that the tests are robust enough to catch potential bugs introduced by these mutations. If a test fails due to a mutation, it indicates that the test suite is effective in catching errors. Conversely, if a mutation does not cause any test to fail, it suggests that the test suite may need improvement. How Mutation Testing Works in Cover AgentIn the Cover Agent, mutation testing is integrated into the
How to Run Mutation Testing in Cover AgentTo run mutation testing in Cover Agent, you need to use the command-line arguments added in
Example Commandpython cover_agent/main.py --mutation-testing --more-mutation-logging This command will run the Cover Agent with mutation testing enabled and provide detailed logs of the mutation process. Additional SectionsConfigurationMutation testing prompts are configured using a TOML file named Limitations and Considerations
This markdown file provides a comprehensive overview of mutation testing in the Cover Agent, detailing its purpose, implementation, and usage instructions. |
PR Type
Enhancement, Tests
Description
CoverAgent
,PromptBuilder
, andUnitTestGenerator
.UnitTestGenerator
.Changes walkthrough 📝
CoverAgent.py
Add mutation testing capability to CoverAgent
cover_agent/CoverAgent.py
run
method.PromptBuilder.py
Support mutation testing in prompt building
cover_agent/PromptBuilder.py
UnitTestGenerator.py
Implement mutation testing in UnitTestGenerator
cover_agent/UnitTestGenerator.py
run_mutations
andrun_mutation
methods.main.py
Add CLI options for mutation testing
cover_agent/main.py
config_loader.py
Include mutation test prompt in settings
cover_agent/settings/config_loader.py
mutation_test_prompt.toml
to settings files.mutation_test_prompt.toml
Add mutation test prompt configuration
cover_agent/settings/mutation_test_prompt.toml
test_app.py
Add test cases for FastAPI application
templated_tests/python_fastapi/test_app.py
test_CoverAgent.py
Update tests for CoverAgent with mutation parameters
tests/test_CoverAgent.py