On Fri, Mar 20, 2009 at 6:18 PM, Edward K. Ream <[email protected]> wrote:

> Looking at generalUnitTest.fail we see:
>
> g.app.unitTestDict["fail"] = g.callers()
>
> We could add another entry.  Something like:
>
> g.app.unitTestDict["fail_p"] = c.p.copy()
>
> And then the various run-unit-tests commands could select
> g.app.unitTestDict.get("fail_p") if it exists.  This will select the *last*
> failing test.

It could also be handy to store all the info about unit test failures
to c.db, for later perusal. Complete with full tracebacks, etc.

Then, add command test-results-show that would fetch the latest test
run failures and show them in friendly form.

I'll try to whip up a prototype.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to