Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r225262 - WebDriver: add an option to dump test results to a js…
…on file https://bugs.webkit.org/show_bug.cgi?id=180082 Reviewed by Brian Burg. Add --json-output command line option to run-webdriver-tests to dump test results to a json file in a format compatible with the W3C report. WebDriverTestResult now represents a test file and contains a list of subtests, instead of having one WebDriverTestResult per subtest. This way we can store also the harness result and dump the results to different formats. * Scripts/run-webdriver-tests: * Scripts/webkitpy/webdriver_tests/webdriver_test_result.py: (WebDriverTestResult.__init__): (WebDriverTestResult): (WebDriverTestResult.add_subtest_results): * Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py: (WebDriverTestRunner.print_results): (WebDriverTestRunner): (WebDriverTestRunner.dump_results_to_json_file): * Scripts/webkitpy/webdriver_tests/webdriver_test_runner_w3c.py: (WebDriverTestRunnerW3C.run):
- Loading branch information
1 parent
0b53cec
commit 60970ae
Showing
5 changed files
with
78 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters