ocaml-batteries-team/batteries-included — pull request #234 by vincent-hugot (2012-01-29 22:55:26+00:00)
Title: Alternative oUnit output, with less clutter (ocamlbuild-style)

(note: you can experiment with qtest2/testfoo.sh)

Success:

```
[17 / 17] /foo/foo.ml:7 *
Ran: 17 tests in: 0.03 seconds.
SUCCESS
```

Failures:

```
[15+2 / 17] /foo/foo.ml:7 *
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Failure: /pretentious_drivel as x/foo.ml:60

OUnit: foo.ml:60: (x 2 (+) [4;5]) (foo 1 (+) [4;5])
expected: 11 but got: 10
///////////////////////////////////////////////////////////////////////////////
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Failure: /pretentious_drivel as x/foo.ml:64

OUnit: foo.ml:64: (x 2 (+) [4;5]) (foo 1 (+) [4;5])
not equal
///////////////////////////////////////////////////////////////////////////////
Ran: 17 tests in: 0.05 seconds.

```