stable
Clone or download
Read-only
Tests: improve debugging tools [request #8917]
- show errors and exception stack trace - add safe_mock() and safe_partial_mock() functions that create mocks that throws when called on methods that aren't stubbed Change-Id: I936ce609458e2ac214c4345461a01fa6b6bf163c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tests/include/TestsPluginReporter.class.php | +5 | −1 | Go to diff View file |
M | tests/lib/MockBuilder.php | +57 | −0 | Go to diff View file |
A | tests/lib/TuleapErrorTrappingInvoker.class.php | +79 | −0 | Go to diff View file |
M | tests/lib/TuleapTestCase.class.php | +12 | −1 | Go to diff View file |
M | tests/lib/autoload.php | +6 | −3 | Go to diff View file |