I’m new to rust, and the best way for me to learn is create a project that has some value to me. My project is to take cargo test output and reformat it into html. In order to test all of the test cases, I have to have some failing tests. But that means my CI fails. You can see it here
How should I handle this:
- Have a separate project that’s not in the CI for generating test data
- Use the #[ignore] attribute on the test methods unless I need them to fail
- Is there a better option?
I don’t like #2 because it means I’m likely to forget the ignore attribute from time to time. Seems ugly.
I was wondering if anyone had some thoughts about what I could do.