]> khamidou — GitHub mirrors - arcanist.git/commit
Provide more information when unit tests fail with exceptions
authorepriestley <git@epriestley.com>
Thu, 17 Nov 2011 19:12:17 +0000 (11:12 -0800)
committerepriestley <git@epriestley.com>
Thu, 17 Nov 2011 19:29:48 +0000 (11:29 -0800)
commita8b42312445b6e8f58afab8686e5464d8823263c
tree234b1a0dd2ac16080473fc2c1a479fa56706527c
parent4ea0541aeb21e8f41a4492df49630ad824566127
Provide more information when unit tests fail with exceptions

Summary:
When a unit test throws an exception, provide more data (type, trace) in the
test failure message.

Previously, we would show only the message itself, which may not be very useful
in debugging test failures.

Test Plan: Ran "arc unit" on a test which throws, got a stack trace.

Reviewers: edward, btrahan, jungejason, nh, tuomaspelkonen, aran

Reviewed By: nh

CC: aran, nh
Differential Revision: 1123
src/unit/engine/phutil/testcase/ArcanistPhutilTestCase.php