This project is read-only.

Fully Qualified Name Displayed for Theories


I am using beta 4 of Xunit and version 0.99.8 of the runner to test F# code.

Unlike facts, theories are displayed with fully-qualified namespace/module names making the content of the Test Explorer difficult to read.

For example, suppose I define a test function like so
namespace A.B

module C =
    [<InlineData(1.0, 3.0, 4.0>]
    let testSum x y expect = Assert.Equal(expect, x + y)        
Then, the test explorer displays
On the other hand, I would expect something like


isoquark wrote Aug 23, 2014 at 2:56 AM

I should also point out that this issue is the same issue resolved with work item 9910 TEXT. So, if it was fixed, it was no longer fixed or perhaps this is something unique to F#.

bartelink wrote Aug 23, 2014 at 9:06 AM

Showing the namespace is a switchable option (in tools|Options but it's about to move into a config file IIRC).

Also, this repo is dead - all issues are managed on GitHub now

isoquark wrote Aug 23, 2014 at 7:55 PM

Thanks for the info; unfortunately, the setting of the option value has no effect. The theory names continue to be displayed in fully-qualified form. I have submitted the issue on github: