The unit testing for the web pages - Twill and Selerium.
Unit testing the web application is not a new problem. But unlike the close counterpart of unit testing in Java, where JUnit is the de facto standard, there isn't a methodology that is as common.
I am trying out Twill and Selerium today, both of them has been around since 2004. The two are both scriptable and differs in two aspect.
Twill cannot support javascript, for instance, you cannot script it to enter the date value through a popup calendar.
It works in plain text mode so you cannot test out the cross browser functionality.
You can get more information from their web site
Having said that, it is very lightweight and it can integrate nicely with your CI framework.
Selerium address the opposite aspect, the javascript support enables you to test the functionality of your heavily AJAX web pages. You can even use the fiefox extension to create the testing script.
Can't follow what I am saying? Try it out yourself from this URL.
Selenium Functional Test Runner
Oreilly has published an ebook of the Short Cuts series which gives you a quick good read on these tools. Check it out from here
I am trying out Twill and Selerium today, both of them has been around since 2004. The two are both scriptable and differs in two aspect.
- Javascript support
- Browser integration
Twill cannot support javascript, for instance, you cannot script it to enter the date value through a popup calendar.
It works in plain text mode so you cannot test out the cross browser functionality.
You can get more information from their web site
Having said that, it is very lightweight and it can integrate nicely with your CI framework.
Selerium address the opposite aspect, the javascript support enables you to test the functionality of your heavily AJAX web pages. You can even use the fiefox extension to create the testing script.
Can't follow what I am saying? Try it out yourself from this URL.
Selenium Functional Test Runner
Oreilly has published an ebook of the Short Cuts series which gives you a quick good read on these tools. Check it out from here