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

Add a debug mode to testharness #27284

Merged
merged 3 commits into from Jan 25, 2021
Merged

Add a debug mode to testharness #27284

merged 3 commits into from Jan 25, 2021

Conversation

jgraham
Copy link
Contributor

@jgraham jgraham commented Jan 22, 2021

This adds console logging of various things that happen e.g. tests starting and stopping, asserts. It's currently enabled by a settings switch.

It also adds a --debug-test option to wptrunner, which enables the debug mode (but is intended to eventually cover various useful debugging features for different test types).

@wpt-pr-bot wpt-pr-bot added infra testharness.js wpt wptrunner The automated test runner, commonly called through ./wpt run labels Jan 22, 2021
resources/testharness.js Outdated Show resolved Hide resolved
resources/testharness.js Outdated Show resolved Hide resolved
This adds console logging for test events when the debug setting is applied
This is designed to allow enabling features that are useful when
debugging test failures. The initial commit enables debug mode in
testharness.js which causes additional console logging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra testharness.js wpt wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants