Page MenuHomePhabricator

How do you import xctool unit test results into phabricator (via the -reporter 'phabricator' option)
OpenPublic

Asked by jsturgeon on Dec 3 2015, 10:46 PM.

Details

From the xctool docs:
PhabricatorReporter produces a JSON array which you can plug directly into the
'arc:unit' diff property in Phabricator.

How does this work?

Answers

avivey
Updated 3,056 Days Ago

That comment is a little out-of date, as the arc:unit property has been moved.

You need to somehow feed the resulting json into either Arcanist, by invoking xctool as a custom unit engine, or into Harbormaster, using harbormaster.sendmessage conduit method.

Google might help you find an implementation of of this integration; I don't see any in the Comunity Resources page.

New Answer