]> khamidou — GitHub mirrors - arcanist.git/commit
Fix issues in C# unit test engine
authorJames Rhodes <jamesr@pageuppeople.com>
Fri, 22 Nov 2013 22:32:48 +0000 (14:32 -0800)
committerepriestley <git@epriestley.com>
Fri, 22 Nov 2013 22:32:48 +0000 (14:32 -0800)
commitbd191c2860e334b7b6a8cd30c1a559174a088d2f
treedba1ccdb550ce90e33900760d97c62893f2142ad
parent6033f1422144db95dee9003b58ed5198c2f5e372
Fix issues in C# unit test engine

Summary: This fixes a few issues in the C# unit test engine.  It fixes tests sitting in subdirectories not being tested correctly (the location of both the test assembly and the results file would be wrong).  It also fixes a very strange issue where xUnit.NET seems to not output the resulting XML file when it executes; in this case we just retry running the test until the XML file appears after completion (and eventually it works).

Test Plan: Ran `arc unit --everything` and `arc unit --everything --no-coverage` and verified that it's all reliably working.

Reviewers: epriestley, #blessed_reviewers, hach-que

Reviewed By: epriestley

CC: Korvin, epriestley, aran
Differential Revision: https://secure.phabricator.com/D7594
src/unit/engine/CSharpToolsTestEngine.php
src/unit/engine/XUnitTestEngine.php