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

Adding support for Casper JUnit output #51

Merged
merged 1 commit into from
Jan 4, 2016
Merged

Conversation

brassduke
Copy link
Contributor

This is to add support for Casper JUnit ouput.
We are using the standard casper xunit output but it isn’t very nice when you use the standard JUnit parser for res.
This creates much nicer representation.

JUnit gives you one ‘Suites’ but we want to use the files the tests have come from as the ‘Suites’. So we do this using the packagenames function to find unique packagenames on the individual suites and
create a list of them.

JUnit also gives you a system-out in every test suite. We’re just checking for testcases inside the suites so we don’t get these anymore.

We have also restricted the length of the names of testsuties to ensure they fit into databases. I think we may want to improve on this in the future.

This work was done very much in conjunction with:
https://github.com/Asimk21

We are using the standard casper xunit output but it isn’t very nice
when you use the standard JUnit parser for res.
This creates much nicer representation.

JUnit gives you one ‘Suites’ but we want to use the files the tests
have come from as the ‘Suites’. So we do this using the packagenames
function to find unique packagenames on the individual suites and
create a list of them.

JUnit also gives you a system-out in every test suite. We’re just
checking for testcases inside the suites so we don’t get these anymore.

We have also restricted the length of the names of testsuties to ensure
they fit into databases. I think we may want to improve on this in the
future.

This work was done very much in conjunction with:
https://github.com/Asimk21
jrmhaig added a commit that referenced this pull request Jan 4, 2016
Adding support for Casper JUnit output
@jrmhaig jrmhaig merged commit dbc6189 into bbc:master Jan 4, 2016
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.

3 participants