-
Notifications
You must be signed in to change notification settings - Fork 27
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
Integration tests #17
Comments
We currently skip all tests when Lines 5 to 8 in fa8dd4b
This check should be extended to skip all tests on CRAN. I don't think there are going to be any tests that meaningfully can be executed on CRAN. The check should use something like this code from testthat: |
It's probably a good idea to merge #7 before addressing this issue. |
Can we close this issue? |
Yes, I think so. I'll mention that maybe we need to rethink the idea of skipping all tests on CRAN. We're starting to add many unit tests that aren't Rust-dependent and that could run on CRAN. |
As was discussed in #15, without proper tests it is impossible to catch errors like the one fixed in #16.
However, tests cannot be
rust
-dependent or otherwise compromiseCRAN
builds.So tests can be either skipped on
CRAN
(or using other condition), or they can be implemented outside of the normal test framework and executed manually on CI.I suggest to have
skip_on_cran
tests that can be executed when package is installed by the client -- to immediately reveal if client's system is misconfigured.The text was updated successfully, but these errors were encountered: