mochajs/mocha — pull request #1448 by duncanbeevers (2014-11-25 14:02:50+00:00)
Title: Runnable short title

Fixes #1230

In this approach, rather than modifying the hook titles at failure time, a run-time `shortTitle` method is exposed on `Suite`, `Runnable`, and `Hook`. In the case of a `Hook` running in the context of a test, the `shortTitle` will reflect both the hook's own title and the title of the currently-executing test.