Regular expressions in VS

Today one of the new developers on our team made a textbook mistake when creating test data for one of our system. He crafted by hand dozens of objects that would initialize repositories used by the system and wrote a bunch of tests that asserted overall flow and transformations of that data.

This worked really well, and we decided to use this data for initial UAT tests. But after deployment a straightforward error kept appearing:

String was not recognized as a valid DateTime.

Continue reading “Regular expressions in VS”

NCrunch – A plugin that makes TDD sexy

Before I started working at my current job I’ve never seen continuous testing tools. For me running unit test, despite being really useful, was a chore that I would do after modifying several files and (usually) writing few additional tests.

It shouldn’t come as a surprise, that several of them will be failing, enabling me to do what developers like the most – fixing errors in their code or, even more fun, fixing errors in somebody else’s code.

Continue reading “NCrunch – A plugin that makes TDD sexy”

WiX Tools is killing me…

About a year ago I’ve created a simple msi installer for excel plugin. The whole idea was, to copy the proper .xll file to known folder on C drive and enable it by default in Excel. Pretty straightforward and somebody in the team just knew what the solution could be: WiX Installer.

I don’t really remember how it all went down, but I’ve just needed to install WiX tools and edit already existing config file. A year ago it took me about a day to produce msi file that was ready for distribution.

This year it took me similar amount of time to make Visual Studio to work again…

Continue reading “WiX Tools is killing me…”