- Follow @istepaniuk
Add to Google+ -
Recent Posts
Recent Comments
Categories
Meta
Author Archives: Iván Stepaniuk
LINQ to SQL pitfalls: Nullable types
Nullable booleans and comparisons Testing if a nullable boolean is true is quite simple in C#, there are many ways, sorted here in my preference order. bool? nullableBool = true; var option1 = nullableBool == true; var option2 = nullableBool.Equals(true) … Continue reading
Coding Dojos Are Great
In 2012 I had the chance to participate in around dozen Coding Dojos. A Coding Dojo is, according to the codingdojo.org website: … a meeting where a bunch of coders get together to work on a programming challenge. They are … Continue reading
FluentAssertions
FluentAssertions is a set of .NET extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style test. It is written by Dennis Doomen and Martin Opdam. For a quick overview, take a look … Continue reading
Thanks Agile Testing Days 2012!
It’s been less than a week since I came back from Berlin/Postdam from the best conference I attended this year, the Agile Testing Days. I co-presented a talk there with my colleague and friend Carlos Blé [thanks Carlos for proposing … Continue reading
LINQ to SQL and multiple aggregate columns
The following very simple T-SQL query will return the average value for all values in the Rating column: SELECT AVG(Rating) AS AvgRating FROM CarRating; Doing this in LINQ to SQL is quite trivial; The Average method returns the average from … Continue reading