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
How to get Assertion Error in after hook? #2219
Comments
Could you expand on your use case? It might be better to use the TAP reporter and process the resulting file. (I'm closing this issue for housekeeping purposes, but let's keep the conversation going.) |
@novemberborn Is there any possibility? |
You could log some of that information and it should show up in the TAP output but it won't be structured. From the looks of it, you're trying to do something a bit beyond just testing your code. That's great but not AVA's core focus. When we land #1947 you'll have some access to the assertion failures so you could construct something on top of AVA. |
Hi,
I want to get the assertion error after each failed test in order to write it in my database.
How can I achieve that?
The text was updated successfully, but these errors were encountered: