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

Check coverage on init() in CoverAgent #295

Open
EmbeddedDevops1 opened this issue Feb 21, 2025 · 0 comments
Open

Check coverage on init() in CoverAgent #295

EmbeddedDevops1 opened this issue Feb 21, 2025 · 0 comments
Assignees
Labels
bug fix Something isn't working platform Underlying platform (code) changes refactor Refactoring the code to make it better

Comments

@EmbeddedDevops1
Copy link
Collaborator

Summary

We used to check coverage during init() and track the initial coverage state, but this was removed. We need to:

  • Check initial coverage against the desired coverage on init().
  • Store that initial coverage in a class attribute, which should never be modified after it’s set.

Requirements

  1. Perform a coverage check as soon as init() completes.
  2. If initial coverage meets or exceeds the desired coverage, handle that scenario appropriately (e.g., may not need further iterations).
  3. Store the initial coverage in a read-only class attribute (immutable after assignment).

Acceptance Criteria

  • A coverage check happens in init().
  • An immutable attribute holds the initial coverage value.
  • Existing logic uses (but does not alter) the stored initial coverage.
  • All tests pass without regressions.
@EmbeddedDevops1 EmbeddedDevops1 added bug fix Something isn't working platform Underlying platform (code) changes refactor Refactoring the code to make it better labels Feb 21, 2025
@EmbeddedDevops1 EmbeddedDevops1 self-assigned this Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Something isn't working platform Underlying platform (code) changes refactor Refactoring the code to make it better
Projects
None yet
Development

No branches or pull requests

1 participant