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

Increase underhill_attestation lib unit test coverage #635

Conversation

mattbodd
Copy link
Contributor

@mattbodd mattbodd commented Jan 9, 2025

This PR:

  • Adds unit tests to the underhill_attestation crate's lib
    • Covers all functions in lib that don't expect a GuestEmulationTransportClient parameter (any guidance on how to construct this in a test would be appreciated)

@mattbodd mattbodd requested review from a team as code owners January 9, 2025 03:50
…ing as wrapping is by design, and remove negative test forcing overflow as debug and release behaviors are different and this test doesn't add much value
@chris-oo
Copy link
Member

I'm not enough of an expert in this code to really comment - @mingweishih if it looks reasonable to you I'm happy to signoff.

@mingweishih
Copy link
Contributor

I'm not enough of an expert in this code to really comment - @mingweishih if it looks reasonable to you I'm happy to signoff.

Yes, the tests look good to me and it's always great to increase the code coverage. Please ahead and sign it off. Thanks!

@mingweishih mingweishih merged commit 2d04a01 into microsoft:main Jan 17, 2025
25 checks passed
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.

5 participants