25Sep

Jumping Through Hoops

For the past month talks about creating a unit testing suite have been in the air. I finally had a chance to take the lead on this project and do some cool stuff. The first thing I did was download Selenium IDE, RC and Grid. This framework is really awesome for testing. Plus it has support for every language you could want!

I was quickly able to get some simple tests up and running. The main test I was interested in took a little while because I was not sure about all the methods possible in the framework. Once I got it down I started using python (which took me all of an 20 minute to learn) for my tests and ran it through Selenium RC. My next step is to setup Selenium Grid to connect to a bunch of remote Selenium RCs and then run tests on a bunch of machines WOO. So I got 5 machines on a variety of platforms to set up my tests.

I then decided that it would be much cleaner to run Grid and the rest of my web apps through Ubuntu running on Microsoft Virtual PC 2007. Virtual PC is actually pretty nice. It feels more lightweight than VMWare stuff if you ask me, but then again probably has a few less features. It took a little manipulation but thanks to this article I was able to set it all up. Next step is to get this running on top of PyUnit which extends JUnit to give some reporting flare. Once I get PyUnit working with Selenium Grid/RC I’ll post a how to article. I think that would be pretty useful!

Also as a result of this testing stuff I had a chance to really mess with Windows 7 for a extended period of time. Let me tell you it is definitely AWESOME. I got to say it is definitely the most stable Windows platform out right now. I have been holding off on replacing the OS on my XP machine, but it is definitely time.

Share

Leave a Reply

You must be logged in to post a comment.