AtomBuild / atom-build-cargo

Cargo (Rust) integration for Atom
MIT License
18 stars 6 forks source link

Ability to run `cargo test` with arguments - e.g. run only single test #90

Open AndiDog opened 7 years ago

AndiDog commented 7 years ago

In projects with many tests, you may only want to run a certain set of tests with cargo test mytestname mytest2. No idea how to implement this nicely, to be honest. My first idea was to read a file .atom-build-cargo.yml and then produce test targets for atom-build based on a user-provided list. Or use cargo test -- --list to get the actual list of tests (could be very many, though).

I could put that into .atom-build.yml myself but then would have to do all the error matching myself...