-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: Init test suite #5
Conversation
} | ||
|
||
#[fixture] | ||
fn metadata_file( |
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.
These are just some sample test cases s.t. we can get started with unit testing.
.github/workflows/ci.yml
Outdated
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.
TODO add coverage + codecov upload here
@@ -6,6 +6,8 @@ edition = "2021" | |||
|
|||
[features] | |||
default = ["tokio/rt-multi-thread"] | |||
# Activate this feature to activate online-testing in the integration test suite. | |||
online-test = [] |
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.
Is conditional compilation the way to go for implementing something like pytest markers? (I want to mark those tests that require an internet connection to fetch packages.)
Co-authored-by: Pavel Zwerschke <pavel.zwerschke@quantco.com>
Co-authored-by: Pavel Zwerschke <pavel.zwerschke@quantco.com>
Co-authored-by: Pavel Zwerschke <pavel.zwerschke@quantco.com>
Let's fix #8 in another PR |
Motivation
No tests.
Changes
examples/