Page MenuHomePhabricator

Update C# tools unit test engine to work
ClosedPublic

Authored by hach-que on Nov 23 2013, 12:02 PM.
Tags
None
Referenced Files
F14012970: D7640.id.diff
Fri, Nov 1, 10:21 PM
F13969570: D7640.diff
Thu, Oct 17, 3:11 AM
Unknown Object (File)
Oct 5 2024, 8:29 AM
Unknown Object (File)
Sep 26 2024, 2:55 AM
Unknown Object (File)
Sep 22 2024, 8:05 PM
Unknown Object (File)
Sep 1 2024, 1:27 AM
Unknown Object (File)
Aug 5 2024, 10:54 AM
Unknown Object (File)
Jul 28 2024, 9:05 PM

Details

Summary

This updates the C# tools unit test engine (the derived version of xUnit.NET test engine that supports code coverage) to work after the updates in D7594.

Test Plan

Switched the test engine from 'XUnitTestEngine' to 'CSharpToolsTestEngine' and ran arc unit --everything. The results were identical except that code coverage was provided.

Tested on Linux; will update or comment based on whether it works on Windows as well.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

hach-que updated this revision to Unknown Object (????).Nov 23 2013, 1:38 PM

Fix absolute path for Windows

Verified this works on both Windows and Linux machines. cscover itself seems to have a few problems on Windows; the .NET framework doesn't seem to like some of the code it instruments, but that is an entirely cscover issue and doesn't affect this diff itself.