-
Notifications
You must be signed in to change notification settings - Fork 71
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
Move end to end tests to own crate #160
Conversation
f26593f
to
c7eea6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, that makes much more sense and leave us the option of doing real integration testing on our modules 😉
I like the "end-to-end" naming! Make it clear and separate it nicely from integration testing in tests/
.
I am sure it will speed up our tests as well.
# This crate should NOT be upstreamed to crates.io; it is only intended for | ||
# PARSEC testing purposes (both locally and on CI) | ||
[package] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
picky-asn1 = "0.2.1" | ||
serde = { version = "1.0", features = ["derive"] } | ||
sha2 = "0.8.1" | ||
parsec-client = { version = "0.2.0", features = ["testing"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 Nice not to have to add the interface next to that!
@@ -63,12 +63,11 @@ while [ "$#" -gt 0 ]; do | |||
error_msg "Only one provider name must be given" | |||
fi | |||
PROVIDER_NAME=$1 | |||
CONFIG_PATH="e2e_tests/provider_cfg/$1/config.toml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤯
This commit moves the PARSEC end-to-end tests into their own crate and refactors the test script along with it. Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
This commit moves the PARSEC end-to-end tests into their own crate and
refactors the test script along with it.
Signed-off-by: Ionut Mihalcea ionut.mihalcea@arm.com
Fixes #155