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

Created Feature: Add myString.Should().ContainEquivalentOf("abc") [10740]

View Article


New Post: new[] { "ab" }.Should().Equal("ab") fails

Hi! This fails:    new[] { "ab" }.Should().Equal("ab"); this is OK:     new[] { "ab" }.Should().Equal(new[] { "ab" }); This happens because Equal has overload that takes IEnumerable and string is...

View Article


New Post: The name BeEquivalentTo() is misleading for strings

I started thinking about strings as enumeration of chars after running into this issue: new[] { "ab" }.Should().Equal("ab") fails. I know about extending with extension methods, I just try to stick to...

View Article

New Post: new[] { "ab" }.Should().Equal("ab") fails

I think you're right. But I vaguely recall running into the limitations of the extension method compiler syntax. I'll check again.  

View Article

New Post: Method proposal: str.Should().BeBlank()

My idea is to call a string "blank" when it is null or empty or whitespace-only. Microsoft in .Net 4 came up with the name IsNullOrWhiteSpace but it's too long to my taste so I use alias "IsBlank". In...

View Article


New Post: Method proposal: str.Should().BeBlank()

We could as well add IsEmptyOrWhiteSpace but I would rather not to.

View Article

New Post: Method proposal: str.Should().BeBlank()

I think IsBlank() as a combination of IsEmpty() or IsNull() sounds great. If you will, add it as a feature...

View Article

Source code checked in, #65456

Ignored binaries

View Article


Source code checked in, #65459

Added assertions for blank and non-blank strings

View Article


New Post: Method proposal: str.Should().BeBlank()

Checked in rev 65459.

View Article

Source code checked in, #65460

Ignore binaries

View Article

Created Task: Create A4 cheat sheet [10813]

Create an A4-sized cheat sheet with an overview of the supported extension syntax.

View Article

Created Issue: When a different exception is detected, it should include the...

Currently, when another exception is thrown than the one expected, it is difficult to determine what went wrong, because the Message and Stacktrace is not shown.

View Article


Source code checked in, #65909

Added myString.ShouldNotContain

View Article

Source code checked in, #65910

Implemented missing main logic for myString.Should().NotContain(...)

View Article


Source code checked in, #65942

Implemented NotContainEquivalentOf

View Article

Closed Feature: Add myString.Should().NotContain() and...

Comments: Implemented in rev 65910, 65942

View Article


Source code checked in, #65943

Implemented myString.Should().ContainEquivalentOf(...)

View Article

Closed Feature: Add myString.Should().ContainEquivalentOf("abc") [10740]

Comments: Revision 65943

View Article

Source code checked in, #65944

Unified null and empty string handling in [Not]Contain[EquivalentOf] method family

View Article
Browsing all 1402 articles
Browse latest View live


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