Edited Issue: System.IO.FileLoadException in AttributeBasedFormatter.AllTypes...
I don't know how to reproduce this in simple project, but I am getting this exception on a test project that uses StackExchange's MiniProfiler```Test(s) failed. System.IO.FileLoadException : Could not...
View ArticleCommented Issue: System.IO.FileLoadException in...
I don't know how to reproduce this in simple project, but I am getting this exception on a test project that uses StackExchange's MiniProfiler```Test(s) failed. System.IO.FileLoadException : Could not...
View ArticleNew Post: Why so many negation methods?
I'm really curious about this too. What would it take to implement it.Should().Not().BeWhatever()?
View ArticleNew Post: Generating documentation from fluent assertions
I'm interested in a way to generate test documentation from assertions to build a report.public class FooSpec() { public void WhenInitialized() { var foo = new Foo(); Foo.Bar.Should().NotBeNull();...
View ArticleNew Post: Why so many negation methods?
I remember that at the time we started this project, there were similar libraries that did support that, but also that we felt they were a bit too noisy. In retrospect, it might have been a good...
View ArticleNew Post: Generating documentation from fluent assertions
That would require parsing IL code, so that should be pretty difficult. We're just using C#'s support for extension methods, so there's nothing to extract metadata from.
View ArticleEdited Issue: PropertyAssertion does not throw if a class overwrites...
PropertyAssertions do not work properly if a class overwrites the Equals-method:``` class ClassThatOverwritesEquals{ public int Age { get; set; } public override bool Equals(object obj) { return...
View ArticleCommented Issue: PropertyAssertion does not throw if a class overwrites...
PropertyAssertions do not work properly if a class overwrites the Equals-method:``` class ClassThatOverwritesEquals{ public int Age { get; set; } public override bool Equals(object obj) { return...
View ArticleCreated Issue: Add BeApproximately to decimal [12477]
When asserting on floats and doubles you should use the BeApproximately assertion, the same is the case for decimals, but here BeApproximately aren't allowed, and you are forced to use BeInRange...
View ArticleCommented Issue: Add BeApproximately to decimal [12477]
When asserting on floats and doubles you should use the BeApproximately assertion, the same is the case for decimals, but here BeApproximately aren't allowed, and you are forced to use BeInRange...
View ArticleCreated Issue: Issue with normal Should Be call [12478]
Hi I receive an exception when i make a call like this:```etuResponse.Header.RspCode.Should().Be(0);```Thats all. I am doing nothing else.RspCode has the value 234.I am using MSTest, Visual Studio...
View ArticleCommented Issue: Issue with normal Should Be call [12478]
Hi I receive an exception when i make a call like this:```etuResponse.Header.RspCode.Should().Be(0);```Thats all. I am doing nothing else.RspCode has the value 234.I am using MSTest, Visual Studio...
View ArticleCommented Issue: Issue with normal Should Be call [12478]
Hi I receive an exception when i make a call like this:```etuResponse.Header.RspCode.Should().Be(0);```Thats all. I am doing nothing else.RspCode has the value 234.I am using MSTest, Visual Studio...
View ArticleCommented Issue: Windows phone throwing non descript exceptions [12470]
Given the following code.[TestMethod]public void InitialiseSession(){ false.Should().BeTrue();}Results in :New exception: "Could not find windows phone test framework.". I'm using the latest test...
View ArticleCommented Issue: Windows phone throwing non descript exceptions [12470]
Given the following code.[TestMethod]public void InitialiseSession(){ false.Should().BeTrue();}Results in :New exception: "Could not find windows phone test framework.". I'm using the latest test...
View ArticleEdited Issue: Add BeApproximately to decimal [12477]
When asserting on floats and doubles you should use the BeApproximately assertion, the same is the case for decimals, but here BeApproximately aren't allowed, and you are forced to use BeInRange...
View ArticleEdited Issue: Add BeApproximately to decimal [12477]
When asserting on floats and doubles you should use the BeApproximately assertion, the same is the case for decimals, but here BeApproximately aren't allowed, and you are forced to use BeInRange...
View ArticleCreated Issue: False positive with Should().BeApproximatively and float.NaN...
Hi,The method BeApproximatively does not fail if the actual value is float.NaN.Here is the test :```[Fact] public void Test_ShouldFail(){ var actual = float.NaN; var expected = 5f;...
View ArticleCommented Issue: False positive with Should().BeApproximatively and float.NaN...
Hi,The method BeApproximatively does not fail if the actual value is float.NaN.Here is the test :```[Fact] public void Test_ShouldFail(){ var actual = float.NaN; var expected = 5f;...
View ArticleEdited Issue: False positive with Should().BeApproximatively and float.NaN...
Hi,The method BeApproximatively does not fail if the actual value is float.NaN.Here is the test :```[Fact] public void Test_ShouldFail(){ var actual = float.NaN; var expected = 5f;...
View Article