Andy Kopciuch's Blog
Sunday, November 11, 2007
  Laptop? Testing & Secret Diaries
So due to some circumstances beyond my control, my sister arrived back home in MJ to have no internet, and more importantly no computer for said lack of internet. :S So AJ let me have a laptop to send to her for a bit. Kris had to set it up, and couriered it overnight. To bad they could never get it working. Not network cards recognized (even with the included drivers installed first). I even had them send the windows disc, and re-install. No dice. It was super frustrating, as I can't trouble shoot a windows problem over the phone. Actually I would probably be no good having the computer in front of me either. The entire thing bothers me to no end, and the parties have since given up, and my sister has made other arrangements. My good intentions were fraught with obstacles. I feel bad ... I did what I could.

With the PF project moving along, and another new developer reading and waiting to get going, we kinda of need to get some of the base lego blocks in place. I have the base site setup, and working on the test machine. I did a walk through with the new guy, and he's reading through code, and the project development guide (Oh yeah ... I had to write that too ;)).

With eXtreme programming being the way to go, we kind of need a testing harness before we can go to work. So I spent a night working on a new simple unit testing mechanism. I wrote a Test class, and a TestFactory to handle the multiple test, and test groupings. You can register dependent classes, run your output directly to console (colorized via Console/Color.php), directly to a browser, or to flat HTML / Text files (which I'm not quite done yet ... a few lines of fopen / fwrite and it will be all done. The point to that is night runs of the tests, and archived for us.

Overall I am quite happy with how it all worked out. Sure it could be way better, but I'm not into writing the _best_ PHP unit testing project in history. This makes it simple enough to write a single function performing the test, and placing a few lines of code in the right test file for it to be run. Colorized output in many forms, and historical data. Good enough for me.

Amidst all that coding I discovered my new favorite TV show. "The Secret Diary Of A Call Girl". It is shown on ITV, but I am lucky enough to grab them from tvtorrents. I find it sexy, funny, and brilliant how you get wrapped into both the working girl persona "Belle", and the real person "Hannah". It's a struggle for anyone to separate their work life from their personal one, and it just goes to show how much your work affects your person, no matter how much you try to keep them distinct. It's only 8 episodes apparently, and I'm waiting for the final of 8 to be uploaded. Check it out if you get ITV
 
Comments: Post a Comment



<< Home
The Jolly Smoking Computer Programmer

ARCHIVES
October 2004 / November 2004 / December 2004 / January 2005 / February 2005 / March 2005 / April 2005 / May 2005 / June 2005 / July 2005 / August 2005 / September 2005 / October 2005 / November 2005 / December 2005 / January 2006 / February 2006 / March 2006 / April 2006 / May 2006 / June 2006 / July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / January 2007 / February 2007 / March 2007 / April 2007 / May 2007 / June 2007 / July 2007 / August 2007 / September 2007 / October 2007 / November 2007 / December 2007 / January 2008 / February 2008 / March 2008 / May 2008 / August 2008 / October 2008 / December 2008 / January 2009 / February 2009 / March 2009 / May 2009 / August 2009 /


Powered by Blogger