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

feat: unit testcases for increasing coverage #311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sonichigo
Copy link

Hey, I’ve added new unit tests to the Go codebase while testing the capabilities of my Keploy AI testing agent. The tests ensure reliable coverage by validating code builds, eliminating flaky tests, and improving overall test stability. Here’s what the AI checks for:

  • Ensures new tests build without errors.
  • Confirms no flaky tests are introduced.
  • Enhances coverage for previously untested areas.

Coverage Breakdown:
Total Coverage Increased: 52.6% to 64.7%

Coverage Before:
image

Coverage Now:
image

Command to run for checking:

go test ./... -cover -coverprofile=coverage.out && go tool cover -func=coverage.out | tail -n 1

let me know if there is anything else I can add.

Signed-off-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant