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

Spike: Aggregate device failures into a new section called 'All results' which shows all tests across all devices #116

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

amleszk
Copy link
Contributor

@amleszk amleszk commented Dec 8, 2018

Note - this is a spike PR, so placing it here to get some feedback. The code provided solves the problem but is not necessarily well architected

At my company we have started distributing UI tests to run them in parallel and get faster feedback. We coagulate results using XCTestHTMLReport and they come back as a per device report. The command to generate the report will take test results from each run is xchtmlreport -r TestResults-0 -r TestResults-1 ... where the directory for the test run was copied off of a node that performed the run.

The generated report can have many separate devices that need selecting to be able to see failures, this is time consuming. The PR adds a new section which will show all tests on all devices to alleviate the single device selection. See screenshot. The main difficulty with this implementation was keeping the UUID unique in the generated HTML, the current solution to that is to prefix each UUID with ALL and so the javascript and HTML still work.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant