Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

testDone should provide aggregated assertion results #351

ilyavolodin opened this Issue Nov 10, 2012 · 4 comments


None yet
3 participants

As far as I understand right now the only way to retrieve the list of failed asserts and stack traces for them is to access QUnit.config.current.assertions. Also, it would be nice if assertions.message would not contain HTML. This would be helpful for automated tools to report stack traces.


jzaefferer commented Nov 11, 2012

You should use log for this: http://api.qunitjs.com/QUnit.log/
Provides html-free message property and source for stack traces.

QUnit.log fires on each assertion, it would be nice to get this information for the whole test. I think it would make sense for testDone to include this information for all assertions.


jzaefferer commented Nov 15, 2012

I've updated the title to reflect that.

@jzaefferer jzaefferer added this to the v2.0 milestone Feb 12, 2014

@jzaefferer jzaefferer modified the milestones: JS Reporter, v2.0 Sep 13, 2014


leobalter commented Mar 31, 2017

For now I don't think we should fix this for testDone as we're working on the standard reporter interface.

@leobalter leobalter closed this Mar 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment