nette/tester — pull request #44 by milo (2013-08-02 11:29:05+00:00)
Title: Pass exception from test to Runner\Job

The main idea is to get Runner\Job access to exception (mainly AssertException) thrown in test. See the commit messages.

Last commit changes the TapPrinter to provide better parsable output. Maybe TapPrinter::toLine() needs a improvement.
```
$ Tester/tester tests/test.phpt --tap
TAP version 13
not ok tester\tests\test.phpt
## message: %1 should be %2
## actual: array (\x0a 0 => 2,\x0a 1 => 3,\x0a 2 => 4,\x0a)
## expected: array (\x0a 0 => 1,\x0a 1 => 2,\x0a 2 => 3,\x0a)
# Failed: array(2, 3, 4) should be
# ... array(1, 2, 3)
#
# in Tester\Framework\Assert.php(365)
# in Tester\Framework\Assert.php(57) Tester\Assert::fail()
# in tester\tests\test.phpt(23) Tester\Assert::same()
1..1
```