vendredi 8 mai 2015

RSpec "retest broken tests from last time" flag

Is there any way to retest previously broken tests?

So, say, I run rspec and several tests in different files and directories fail. I fix something and now I have to manually specify all files and folders I want to retest or run tests for whole project again(It takes considerable amount of time for big projets).

What I was looking for is something like a flag

rspec --prev-failed-only

I realize that such flag would require considerable amount of additional actions from rspec, like storing results of previous tests and so on. But I think it would be super convenient to me.

Is there any such(or similar) tool/gem?

Aucun commentaire:

Enregistrer un commentaire