Codium-ai / cover-agent

CodiumAI Cover-Agent: An AI-Powered Tool for Automated Test Generation and Code Coverage Enhancement! ๐Ÿ’ป๐Ÿค–๐Ÿงช๐Ÿž
https://www.codium.ai/
GNU Affero General Public License v3.0
4.2k stars 294 forks source link

Working of C# #153

Closed Ajaykumarkv17 closed 6 days ago

Ajaykumarkv17 commented 1 week ago

Hiii I have a issue in running with C# Projects

Can you please give me a proper cover-agent command so that i can use it

I need a sample command like this for c#

cover-agent \ --model "claude-3-5-sonnet-20240620" --source-file-path "templated_tests/python_fastapi/app.py" \ --test-file-path "templated_tests/python_fastapi/test_app.py" \ --code-coverage-report-path "templated_tests/python_fastapi/coverage.xml" \ --test-command "pytest --cov=. --cov-report=xml --cov-report=term" \ --test-command-dir "templated_tests/python_fastapi" \ --coverage-type "cobertura" \ --desired-coverage 70 \ --max-iterations 5

EmbeddedDevops1 commented 6 days ago

Hi. C# is part of our nightly regression pipeline. We call Cover Agent against it from here. The example project code can be found here.

Ajaykumarkv17 commented 4 days ago

Is this work in windows but i could not run it properly Please give me the command in windows it is very helpful

Ajaykumarkv17 commented 1 day ago

Please give me the updated windows solution