h1alexbel / tagrs

Rust test tagging
MIT License
5 stars 0 forks source link

multiple tags #9

Closed h1alexbel closed 1 month ago

h1alexbel commented 1 month ago

I have a few tests:

    #[tag("fast")]
    #[test]
    fn outputs_help() -> Result<()> {
        // some assertions
        Ok(())
    }

    #[tag("slow")]
    #[test]
    fn outputs_something_else() -> Result<()> {
        // some assertions
        Ok(())
    }

when I run this:

TTAG=slow,fast cargo test

It won't any both tests, both outputs_help and outputs_something_else will be ignored. Let's allow multiple tags to be provided

github-actions[bot] commented 1 month ago

@h1alexbel Quality problem: Lack of clear expected behavior description. Improvement suggestion: Add explicit expected output or behavior for the given test run command.

0pdd commented 1 month ago

@h1alexbel the puzzle #11 is still not solved.