Our online audits need/deserve snapshot/acceptance tests too! These should always run in CI, and should be optionally runnable by local users who are willing to set GH_TOKEN or similar in their environment.
One idea: we could mark online tests with #[ignore], and then run all non-ignored tests in CI.
Another idea: we could define an online_tests feature and do something like #[cfg_attr(not(feature = "online_tests"), ignore)] on each test.
Not sure if either of these is good/best practice, though.
Our online audits need/deserve snapshot/acceptance tests too! These should always run in CI, and should be optionally runnable by local users who are willing to set
GH_TOKENor similar in their environment.One idea: we could mark online tests with
#[ignore], and then run all non-ignored tests in CI.Another idea: we could define an
online_testsfeature and do something like#[cfg_attr(not(feature = "online_tests"), ignore)]on each test.Not sure if either of these is good/best practice, though.