Edited 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 ArticleEdited 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 ArticleClosed Issue: silverlight 5 test projects throwing wrong exceptions [12474]
When used against a sl 5 assembly, a fileNotFoundException is thrown when a test fails.I tried recompiling to SL5, and there's an errror in the GenerateHandler method of the EventHandlerFactory. the...
View ArticleSource code checked in, #38c666e78f4a
Small bug-fix to better intercept and/or prevent exceptions while scanning for methods annotated with [ValueFormatter]. Updated version number to 2.0.1
View ArticleReleased: Release 2.0.1 (Mar 03, 2013)
Read this blog post for all the details Release 2.0.1 adds a small bug-fix to better intercept and/or prevent exceptions while scanning for methods annotated withValueFormatter
View ArticleUpdated Release: Release 2.0.1 (Mar 03, 2013)
Read this blog post for all the detailsRelease 2.0.1 adds a small bug-fix to better intercept and/or prevent exceptions while scanning for methods annotated with ValueFormatter
View ArticleClosed Issue: StartWith on an empty string throws ArgumentOutOfRangeException...
"".Should().StartWith("foo");throws the following exception instead of giving a useful message about "" not starting with "foo":System.ArgumentOutOfRangeException : StartIndex cannot be less than...
View ArticleClosed Issue: BeNull and NotBeNull have the same condition for comparable...
I have a reference type implementing IComparable<T> that I assert to be null:value.Should().BeNull();The test unexpectedly fails when the value is indeed null (verified in the debugger). When I...
View ArticleClosed Issue: TypeAssertions throws NullReferenceException when checking...
FluentAssertions 1.7.1, net35 version.Type type = GetNullType();type.Should().Be(null); throws NullReferenceException if type is null:System.NullReferenceException : Object reference not set to an...
View ArticleClosed 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 ArticleClosed 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 ArticleCreated Feature: Should details about an AggregateException in ShouldNotThrow...
When an AggregateException is thrown it would be nice if ShouldNotThrow shows the details about the inner exception. Now you only see that an AggregateException is thrown, but is is more interesting to...
View ArticleEdited Feature: Show details about an AggregateException in ShouldNotThrow...
When an AggregateException is thrown it would be nice if ShouldNotThrow shows the details about the inner exception. Now you only see that an AggregateException is thrown, but is is more interesting to...
View ArticleCommented Issue: ShouldBeEquivalentTo crashes on signature hiding properties...
Take this example. Foo is overriden with new. This crashes TypeExtensions.FindProperty because it will see object Foo and string Foo```c#[TestMethod] public void FluentAssertionsTest(){ var a1 = new...
View ArticleCommented Issue: ShouldBeEquivalentTo crashes on signature hiding properties...
Take this example. Foo is overriden with new. This crashes TypeExtensions.FindProperty because it will see object Foo and string Foo```c#[TestMethod] public void FluentAssertionsTest(){ var a1 = new...
View ArticleNew Post: Why does Should().ContainSingle() accept predicate mandatory
Comparing to LINQ having both Single() and Single(predicate), I want ContainSingle() overload accepting no parameters. What analog does exist so far? HaveCount(1)? Also even I specify predicate, I want...
View ArticleNew Post: Why doesn't NotBeSameAs() work with GenericCollectionAssertions?
I'm implementing a special case of an immutable dictionary, which for convenience implements IEnumerable<KeyValuePair<Foo, Bar>>. Operations that would ordinarily modify the dictionary...
View Article