-
Notifications
You must be signed in to change notification settings - Fork 782
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
cli: disable default logging #1671
Comments
I think a diff output for deepEqual is much more desirable instead of dumping actual and expected |
And if I'm at it coloring is an important feature ( |
and this as well QUnit.config.hidepassed |
Thank for creating the issue. The Example: https://codepen.io/Krinkle/pen/yLPXmEo. The TAP reporter, as used in the CLI by default, doesn't yet ship a differ by default. The issue for that is #1412, and a a related proposal for assertion plugins to provide a custom diff to render certain domain-specific values in a more optimal manner (#1005). |
Another thing is that the cli should accept a |
I propose we try to use the same differ as we use in the browser and colorise it with I'm tentatively closing this in favour of #1412, as my understanding is that having a diff and being able to use maxDepth is the desired outcome, not per-se the ability to disable logging. If you do want to customise or replace logging entirely, one can use |
Absolutely |
Tell us about your runtime:
What are you trying to do?
I want to override the default logging of qunit
It isn't clear how to do so.
I do understand how to add logging.
My tests dump too much data and it becomes useless.
Used
But it's not enough
Workaround
override assertions
The text was updated successfully, but these errors were encountered: