Testing If-Modified-Since with lwp-mirror

This week I created a way for me to post small messages, as there is not yet a good decentralized way to make this happen. One part of this research is how can I create, host and share RSS feeds without using to much bandwidth and server time. One way we can do this, is by using the features of the HTTP protocol. One of those features is the Last-Modified header....

March 12, 2011

Testing for improvement

When I’m programming, I sometimes need to use a problem solving pattern, that Kent Beck called Parallel. The pattern tells us that when your making a change you should also leave the old way of doing things in the program, so you can gradually move to the new solution. This helps in situations, where you can’t just flip a switch to migrate. The problem with this however is, that you do have to migrate all the way to the new solution, because otherwise you will have twice the code and data in various states....

March 2, 2010

Help prove help you

I use prove from Test::Harness to test the code of my Perl projects. The program prove runs tests files and summarizes the output. If tests fail then it shows the error in its output. The problem is, my defaults aren’t the same as the defaults that prove uses. I keep my main application files in app/lib and a few vendor libraries in vendor. The problem with this is that I have type out the options of prove every time I wanted to test....

February 17, 2010

Perl Testing Book Received

Yesterday I received the Perl Testing Developers Notebook. It only took about six days to get here, but it still is three months ago, since I won. Of course this is no problem and I’m very happy with the new book. I like to thank Josh, for the contest. Which was actually quite easy :). I’ve started reading it and it looks like it contains real nice examples for perl testing....

December 21, 2005