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

Refactor testing for tpm2 package #330

Open
chrisccoulson opened this issue Sep 9, 2024 · 0 comments
Open

Refactor testing for tpm2 package #330

chrisccoulson opened this issue Sep 9, 2024 · 0 comments

Comments

@chrisccoulson
Copy link
Collaborator

I want to refactor the testing to be more in line with one of the recently added packages, eg, plainkey:

  1. For New* functions, test the returned private values against statically compiled values.
  2. For serialization tests, test the serialization against a statically contained value, such as a JSON string or sequence of bytes
  3. For deserialization tests, test the deserialization against statically contained values to detect for backwards compatibility issues
  4. Add unit tests for other features as usual.
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

No branches or pull requests

1 participant