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
Unknown Object (File)
Thu, Nov 21, 6:30 AM
Unknown Object (File)
Sun, Nov 17, 7:27 PM
Unknown Object (File)
Sun, Nov 17, 6:42 PM
Unknown Object (File)
Sun, Nov 17, 7:18 AM
Unknown Object (File)
Fri, Nov 15, 9:18 AM
Unknown Object (File)
Wed, Nov 13, 1:40 AM
Unknown Object (File)
Fri, Nov 1, 10:21 PM
Unknown Object (File)
Oct 17 2024, 3:11 AM

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.