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

tests - improve coverage #255

Open
15 tasks
mfreeman451 opened this issue Feb 27, 2025 · 0 comments
Open
15 tasks

tests - improve coverage #255

mfreeman451 opened this issue Feb 27, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@mfreeman451
Copy link
Collaborator

We need more tests and better coverage, I'm a big fan of lets aim for 100% coverage if possible. We are using the mockgen system maintained by Uber, we should be testing interfaces and not concrete implementations and mock everything. There are packages that don't have any interfaces yet and will need to be updated. Check out some of the existing interfaces.go in various packages to see how to do the mockgen stuff.

  • Agent
  • Checker
  • Cloud - Server
  • Cloud - API
  • Config
  • DB
  • GRPC
  • HTTP
  • lifecycle
  • metrics
  • models
  • monitoring
  • poller
  • scan
  • sweeper
@mfreeman451 mfreeman451 added the good first issue Good for newcomers label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant