Skip to content

NXP PKCS#11 Parsec integration testing. #457

Answered by hug-dev
sahilnxp asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @sahilnxp 👋!

Good question! Actually what you ran are only the Parsec unit tests. There is indeed a large base of tests that we call the end-to-end tests that are available in the e2e_tests folder. Those are crypto and key management tests that are executed against a running Parsec version.

To execute them, have a Parsec service running and then execute:

cargo test --features pkcs11-provider --manifest-path ./e2e_tests/Cargo.toml normal_tests

Let us know if that does not work, or if you need any help! Hopefully they all pass 🙏

You can find more information about testing in the book. We have a list of all of our tests in the subpage.

Replies: 4 comments 20 replies

Comment options

You must be logged in to vote
18 replies
@hug-dev
Comment options

@hug-dev
Comment options

@ionut-arm
Comment options

@hug-dev
Comment options

@ionut-arm
Comment options

Answer selected by paulhowardarm
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sahilnxp
Comment options

@hug-dev
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
platforms Compatibility with different secure services or hardware platforms
3 participants
Converted from issue

This discussion was converted from issue #456 on July 01, 2021 07:57.