Category Archives: testing

OpenWithTest released on Visual Studio Gallery

Download Either download from the extension manager by searching OpenWithTest or go to the project page here. Summary Open with Test is a Visual Studio extension which serves one simple task: To always open your test files and implementation files tog…

Continue reading
Posted in Tools, Visual Studio, Visual Studio Gallery, testing | Leave a comment

DRY and Unit Tests don’t mix well

When reading source code, I sometimes come across unappealing code(sometimes even my own).  However, there is one kind of “bad code” I see quite frequently.  It is a set of unit tests which have had the DRY (Don’t Repeat Yourself) princip…

Continue reading
Posted in Programming, testing | Leave a comment

Code Assumptions

My co-workers and I recently came across a piece of code which exposed some assumptions we had about the “correct” behavior of two functions; these assumptions turned out to be false.  The code dealt with determining if the IP of a  reque…

Continue reading
Posted in testing | Comments Off