Midje icon indicating copy to clipboard operation
Midje copied to clipboard

:stop-on-first-failure (Autotest Option)

Open klauswuestefeld opened this issue 9 years ago • 3 comments

I find myself scrolling up the repl to the first failure after a test run all the time.

Is it just me?

klauswuestefeld avatar Jun 07 '15 05:06 klauswuestefeld

:+1:

arichiardi avatar Jun 07 '15 06:06 arichiardi

I'm wondering if it might be useful to have a way to tell autotest to "narrow in on this namespace". That is, keep tracking dependencies in all the sources, but only do reloading if a change would affect the namespace you're focused on.

When I get annoyed by this, I sometimes tell autotest to only consider two files - the source I'm working on and the file with its tests. But that involves enough typing that I don't do it regularly.

Question: when you're doing the scrolling, are you typically scrolling past N following failures?

marick avatar Jul 20 '15 13:07 marick

Yes. On Jul 20, 2015 10:49 AM, "Brian Marick" [email protected] wrote:

I'm wondering if it might be useful to have a way to tell autotest to "narrow in on this namespace". That is, keep tracking dependencies in all the sources, but only do reloading if a change would affect the namespace you're focused on.

When I get annoyed by this, I sometimes tell autotest to only consider two files - the source I'm working on and the file with its tests. But that involves enough typing that I don't do it regularly.

Question: when you're doing the scrolling, are you typically scrolling past N following failures?

— Reply to this email directly or view it on GitHub https://github.com/marick/Midje/issues/318#issuecomment-122891360.

klauswuestefeld avatar Jul 20 '15 18:07 klauswuestefeld