On 4/30/14, 11:25 AM, Dicebot wrote:
On Wednesday, 30 April 2014 at 14:18:37 UTC, Ary Borenszweig wrote:
When I have a bug in my code I usually add a test for it so it never
happens again.

Because it's a bug, I might need to debug it. So I add a couple of
"writefln" instead of using a debugger (it's faster and I get
formatted results easier).

Now, if I run all tests I will get output from all the tests, not the
one I'm trying to debug. That's really annoying.

Output from the failing test will always be the last one in console.
Pipe to tail -> profit. This sounds as pure aesthetics issue.

That's good.

What if you have tests against a database that where each take some time? I don't want to wait for the whole tests to run...

Reply via email to