Quantcast
Channel: Fluent Assertions
Browsing all 1402 articles
Browse latest View live
↧

Updated Release: Release 2.0.0 (Oct 07, 2012)

Read this blog post for all the details

View Article


Released: Release 2.0.0 (Oct 07, 2012)

Read this blog post for all the details

View Article


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 Article

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 Article

Closed 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 Article


Source 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 Article

Updated Release: Release 2.0.1 (Mar 03, 2013)

Read this blog post for all the details

View Article

Released: 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 Article


Updated 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 Article


Closed 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 Article

Closed 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 Article

Closed 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 Article

Closed 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 Article


Closed 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 Article

Created 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 Article


Edited 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 Article

Commented 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 Article


Commented 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 Article

New 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 Article

New 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
Browsing all 1402 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>