-
.NET
The Test Scope Creep
In “Should I use multiple asserts” we described the problem when using them in a single test. In the example…
Read More » -
DevOps
Batch file to open a specific TCP port in Windows 7 / 2008 Server and up
Thanks to the answer by Kevin Richardson on How to open ports on Windows firewall through batch file, I wrote this batch file that…
Read More » -
.NET
How to fake a singleton in C++
When unit testing legacy code I find several (anti) patterns which prevent getting code under test. The most recurring pattern…
Read More » -
.NET
Using httpbin to test http and https requests
StackOverflow user Kenneth Reitz has written a great on-line and free httpbin tool that responds to many kinds of http/https requests…
Read More » -
.NET
Should I use or split multiple asserts?
I get this question often. It makes sense to stuff all kinds of assertions after a single setup and invocation.…
Read More » -
.NET
DIY – Useful LINQ Extensions
LINQ (Language Integrated Query) is one of the most powerful features of modern .NET. Powered by generics, lambda expressions, method…
Read More » -
.NET
RavenDB 3.0. New Stable Release
We have just released build 3785 of RavenDB 3.0. This build has quite a bit of changes (for the full…
Read More » -
Agile
Some Questions About The Pomodoro Technique
In this episode, I answer a questions about the Pomodoro Technique. Full transcript: John: Hey, John Sonmez from simpleprogrammer.com.…
Read More » -
.NET
CoreCLR Documentation
Today I want to show you some documentation that is not directly from the MSDN. Instead, it comes from the…
Read More » -
.NET
Buffer Allocation Strategies – Explaining the solution
In my previous post, I threw a bunch a code at you, with no explanation, and asked you to discuss…
Read More »