OCUnit2JUnit icon indicating copy to clipboard operation
OCUnit2JUnit copied to clipboard

A script that converts output from OCUnit in xcodebuild to the XML format used by JUnit. This allows for XCode builds on continuos integration servers like Jenkins, complete with test reports!

Results 11 OCUnit2JUnit issues
Sort by recently updated
recently updated
newest added

@ciryon : Currently when the XCODE is updated to version 11, the reports are getting generated in build-1234..xcresult format. This format is not supported currently by OCUnit2JUnit plugin. Please update.

Have given below command xcodebuild -workspace Sample.xcworkspace -scheme "SampleUITestsShared" -derivedDataPath Build/ -destination 'platform=iOS Simulator,OS=12.4,name=iPhone Xs' -enableCodeCoverage YES clean build test | ocunit2junit test-reports folder got generated but xml file is...

We keep running into the following error sporadically in our build. `` 17:02:38 /usr/local/lib/ruby/gems/2.3.0/gems/ocunit2junit-1.4/bin/ocunit2junit:160:in `-': nil can't be coerced into Fixnum (TypeError) 17:02:38 from /usr/local/lib/ruby/gems/2.3.0/gems/ocunit2junit-1.4/bin/ocunit2junit:160:in `handle_end_test_suite' 17:02:38 from /usr/local/lib/ruby/gems/2.3.0/gems/ocunit2junit-1.4/bin/ocunit2junit:99:in `block...

If a test starts, but does not complete, hence there is no Test Case "error", "failed" or "passed" stanza to matched the "started" stanza, then OCUnit2Junit would not report this...

Made a fix for issue https://github.com/ciryon/OCUnit2JUnit/issues/36 that I opened couple of days before

In this case it's a benchmark test. It should report that it took 0.316s not 3.607 for the whole test where 0.316 seconds is the average time for 10 passes...

The script should write the test report at the end to a file irrespective of whether it finds a test suite end tag. In my case sometimes the tests hang...

When `xcodebuild` fails for some random reason, the output is not the same, it's shorter and missing some failure info.

I'm having trouble with one of my projects, because it has a test suite with a space in the name. Here's an example of the relevant output: ``` [DEBUG] Test...

Hi, I am using OCUnit2JUnit to get a report for Jenkins using Kiwi, and I see all my pending as passed. What about the feasibility of supporting pending tests here?...