Feeds:
Posts
Comments

Posts Tagged ‘c#’

ReSharper usually doesn’t like it, but you can turn off the inspection for test methods. http://atombrenner.blogspot.co.uk/2010/07/how-to-change-resharper-naming-style.html Then you can do something like this.

Read Full Post »

What is “Sandwich Code”? I found it in Ruby Koans. Often, you have to do something at the beginning and at the end, even though your main lock is in the middle. Let’s say, you want to retrieve data from database. You have to create a connection, open it, use it to load data, and [...]

Read Full Post »

Ideally, it is not recommended to test private methods, as complex internals should be kept hidden and only interface be tested. Well, in real world, sometimes, you need to test your private methods, as it performs very important operation. In my case, the method was public and later I changed it to private, since it [...]

Read Full Post »

Recently, I had a chance to refactor codes for a system that sends a file to DreamMail. Because we did not touch any FTP functionality, we were complacent and tested it up to where files are exported and sent via FTP. Development is completed and the application was deployed to a testing environment. Very thankfully [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.

Join 135 other followers