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

Fix/cleanup macros tests #2

Merged
merged 4 commits into from
Oct 4, 2024
Merged

Fix/cleanup macros tests #2

merged 4 commits into from
Oct 4, 2024

Conversation

mimir-d
Copy link
Contributor

@mimir-d mimir-d commented Oct 4, 2024

  • the ocptv_log_* macros were repetitive; make them with another macro
  • remove a lot of the repetition in these tests
  • the test cases now only contain the expected output and the exercise,
    so it makes them a lot easier to read and reason about

- the ocptv_log_* macros were repetitive; make them with another macro

Signed-off-by: mimir-d <[email protected]>
- remove a lot of the repetition in these tests
- the test cases now only contain the expected output and the exercise,
  so it makes them a lot easier to read and reason about

Signed-off-by: mimir-d <[email protected]>
- similar to the runner tests before, these behave like integration
  tests and only use public api
- because of this, move them to their own module

Signed-off-by: mimir-d <[email protected]>
Copy link

codecov bot commented Oct 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.6%. Comparing base (26321ed) to head (0641915).
Report is 3 commits behind head on dev.

Additional details and impacted files

@mimir-d mimir-d requested a review from njordr October 4, 2024 12:56
Base automatically changed from fea/typestate_run to dev October 4, 2024 15:24
@mimir-d mimir-d merged commit 446ca1d into dev Oct 4, 2024
11 of 12 checks passed
@mimir-d mimir-d deleted the fix/cleanup_macros_tests branch October 4, 2024 15:27
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.

2 participants