I met a weird problem that I found the Resharper Test Runner hangs when I introduced theory test case in my unit test.
TimNew
------------
To Realize your potential
After some spikes, I found the problem seems caused by the incompatibility between FluentAssertion(http://fluentassertions.codeplex.com/) and xUnit.Extension (http://xunit.codeplex.com/).
It is wired, and there seems to be no quick fix.
So I replace the Fluent Assertion with Should and Should.Fluent(http://should.codeplex.com/), which is a port of ShouldIt(http://code.google.com/p/shouldit/).
After that, everything goes well except the syntax between Fluent Assertion and Should Fluent are not compatible with each other, although they're really similar.
But Should.Fluent doesn't support something.Should.Be(), it requires something.Should.Be.Equals(), which is really annoying to me.
According to the Fluent's introduction, Fluent is a direct fork of xUnit. And I'm not sure what's the impact caused by this.
Best regards,
TimNew
------------
If not now then when?
if not me then who?
Release your passionTo Realize your potential
I am a pessimist, I feel I'm living in a world without light.
But I am also a prayer, I believe I’m going towards a world full of sunshine!
Posted via email from 米良的实验室
没有评论:
发表评论