Skip to content
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

Implementation of Unit Test File Generation #227

Open
redvelvets opened this issue Nov 19, 2024 · 2 comments
Open

Implementation of Unit Test File Generation #227

redvelvets opened this issue Nov 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@redvelvets
Copy link
Contributor

  • The current cover-agent can only focus on generating incremental unit tests for existing ones to improve coverage.
  • However, this process is too idealistic because most developers and projects do not focus on unit testing. In other words, they may not even have a single test file.
  • Given this situation, can cover-agent consider and extend its development to address this? I believe this is just as important as generating incremental tests.
  • As the saying goes, "a skyscraper starts from the ground." If a project has no unit tests, it's like having no foundation, making it impossible for cover-agent to proceed.
@mrT23
Copy link
Collaborator

mrT23 commented Nov 21, 2024

yep, thinking about it. stay tuned

image

@EmbeddedDevops1
Copy link
Collaborator

You could also just create a blank test file with the necessary imports and cover-agent will take it from there. Give it a whirl and let us know what you think.

@EmbeddedDevops1 EmbeddedDevops1 added the enhancement New feature or request label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants