Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testDone should provide aggregated assertion results #351

Closed
ilyavolodin opened this issue Nov 10, 2012 · 4 comments
Closed

testDone should provide aggregated assertion results #351

ilyavolodin opened this issue Nov 10, 2012 · 4 comments
Labels
Milestone

Comments

@ilyavolodin
Copy link

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
Copy link
Member

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

@ilyavolodin
Copy link
Author

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
Copy link
Member

I've updated the title to reflect that.

@leobalter
Copy link
Member

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

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

No branches or pull requests

3 participants