mahju
mahju

Reputation: 1156

Configuring xUnit for CUnit in Hudson CI

I want to use Hudson CI for my c-project, which also uses CUnit. However I've also come to understand that there is currently no plugin that supports CUnit. So I read on the internets that this might be possible using the xUnit plugin by translating between CUnit and JUnit, but using the supplied file yields an error.

[xUnit] [ERROR] - The plugin hasn't been performed correctly: Conversion error Error to convert the input XML document

So my question is; has anyone successfully run CUnit tests in hudson. And, in that case, how?

Upvotes: 3

Views: 2046

Answers (2)

mcdeck
mcdeck

Reputation: 126

@Nubsis: Did you by any chance copy & paste from the listing? The downloadable file seems to work just fine. If you found errors in it let me know so I can fix them and put an updated version on my blog so others don't run into the same problems you had.

Upvotes: 1

mahju
mahju

Reputation: 1156

As it turns out, there were some syntax errors in the xslt-file provided in the link. After correcting this and some identifiers it worked out well.

Upvotes: 0

Related Questions