3 ms·
There's a cargo watch command that tries to do the same thing that other languages with slow compilation or test frameworks do, and that's to run all your tests
by hinkley 8y ago
There's a cargo watch command that tries to do the same thing that other languages with slow compilation or test frameworks do, and that's to run all your tests the minute you save.
This narrows the time between when you have something to test and when you remember to test it. It saves you wall clock time if not CPU time.
(I highly recommend combining watch with an editor or IDE that saves all buffers at the same time, instead of one at a time).
- djrenren 8y agoI don't believe this would work with the rustc compiler because, although it uses Cargo to build, it has a special process that bootstraps the compiler by building itself.