by torginus · 4y ago · 0 comments
Many times I searched for 'how do I do something with xUnit' and found a github issue with people struggling with the same thing, and the author flat out refusing to incorporate the feature as it was against his principles.
Other times I found that I needed to do was override some core xUnit class so it would do the thing I wanted it to do - sounds complex, all right lets see the docs. Oh there are none, 'just read the source' according to the author.
Another thing that bit us in the ass is they refused to support .NET Standard, a common subset of .NET Framework and Core, making migration hell.
"We can't land this tiny fix because we have a release planned within three months" sort of thing.
One of the key differences, is there are no test cases generated, nUnit tests just wont run, while xUnit will throw.
Since it's completely legal and sensible for a certain kind of test to have no entries in an xml, we needed to hack around this quirk. When I (and countless others) have mentioned this on the xunit github, the author berated us that how dare we request this.
So nUnit might be buggy, but xUnit is fundamentally unfixable.