flank-arm-beta.yml |
|
981 |
flank-arm-start-test-robo.yml |
|
580 |
flank-arm-start-test.yml |
|
981 |
flank-arm64-v8a.yml |
|
1030 |
flank-armeabi-v7a-start-test.yml |
|
886 |
flank-x86-start-test.yml |
|
886 |
flank-x86.yml |
|
803 |
geckoview-configs |
|
|
parse-ui-test-fromfile.py |
Parses the given JUnit test results and prints a formatted table of failures and flaky tests.
Args:
results (JUnitXml): Parsed JUnit XML results.
Returns:
int: The number of test failures.
The function processes each test suite and each test case within the suite.
If a test case has a result that is an instance of Failure, it is added to the table.
The test case is marked as 'Flaky' if the flaky attribute is set to "true", otherwise it is marked as 'Failure'.
Example of possible JUnit XML (FullJUnitReport.xml):
<testsuites>
<testsuite name="ExampleSuite" tests="2" failures="1" flakes="1" time="0.003">
<testcase classname="example.TestClass" name="testSuccess" flaky="true" time="0.001">
<failure message="Assertion failed">Expected true but was false</failure>
</testcase>
<testcase classname="example.TestClass" name="testFailure" time="0.002">
<failure message="Assertion failed">Expected true but was false</failure>
<failure message="Assertion failed">Expected true but was false</failure>
</testcase>
</testsuite>
</testsuites>
|
5165 |
parse-ui-test.py |
|
2930 |
robo-test.sh |
|
2560 |
ui-test.sh |
|
4134 |