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 information how to integrate with CI servers #66

Open
gsauthof opened this issue Nov 3, 2016 · 2 comments
Open

Add information how to integrate with CI servers #66

gsauthof opened this issue Nov 3, 2016 · 2 comments

Comments

@gsauthof
Copy link
Contributor

gsauthof commented Nov 3, 2016

The libcheck manual describes how to generate alternative output, e.g. XML. But there is no information how to integrate such reports with CI servers like Jenkins.

See also Catch's take on this topic.

To better integrate some libcheck based testsuites into Jenkins, I've created a small script to convert the libcheck XML into JUnit compatible XML as understood by the JUnit Jenkins plugin.

@brarcher
Copy link
Contributor

brarcher commented Nov 4, 2016

Does the CI server support TAP? I've used Jenkins' TAP plugin for a few projects before and found it useful. As Check supports TAP, this may be an easier route than an XML solution. It may not provide all the information XML may, however.

I am not really an expert on CI servers or their configuration. If you were able to write-up what you know and contribute it to Check's manual it would be appreciated.

@gsauthof
Copy link
Contributor Author

gsauthof commented Nov 4, 2016

For me, the deal breaker with TAP is that it doesn't include the duration information for each test.

I'll see if I can find the time to contribute something for the manual.

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

No branches or pull requests

2 participants