JavaScript testing

This post about JavaScript testing is part of the Setting up a full stack for web testing series. Introduction JavaScript tests are sufficiently special to deserve a post outside of unit and functional testing. You need a special set of tools to write these tests. But then again for JavaScript the usual split between unit and functional tests is still applicable. So what I wrote about those two topics is also relevant here. ...

February 10, 2010 · Patrice Neff

Setting up a full stack for web testing

Many developers see the value in getting started with testing their web applications, but don’t know how to actually start using it. I’ll write about a variety of products and processes which cover the whole range of testing web applications. The posts in this series will be published in the coming weeks. You can find a rough table of contents below but the list may get modified or extended. Approach Initially you must spend some thoughts on how you want to approach testing. The main obstacle is that almost always you start with an existing project that already has a big code base. It seems impossible to ever get enough testing in place to be meaningful. But my experience shows that even very little coverage can already improve quality of your system a lot. ...

September 10, 2009 · Patrice Neff

PHP Testing with SimpleTest

Maarten’s post at Tillate finally brought the motivation to document the PHP testing approach we use at local.ch. First let me give you a short introduction to our architecture at local.ch. We have a clear separation of frontend (presentation, user-visible parts) and backend (search logic and database accesses). The frontend is written in PHP and XSLT. The PHP-part basically only orchestrates queries to our Java-based backend and passes the XML responses to XSLT. The bigger parts of the system are the XSLT stylesheet. All this means, that traditional unit tests don’t have a big value for the frontend as there isn’t much traditional logic. But we need to do functional/integration testing. ...

May 22, 2007 · Patrice Neff

Name of Selenium

Selenium is a open-source framework for functional testing of web applications. Today we found out the most likely reason for it’s naming. Intervention to minimise the toxic effects of mercury and other free radical inducers is feasible for both the dental team and patients. Probably the most effective protective agent against the hazards of mercury poisoning is the element selenium. Mercury apparently produces some test software that’s not well-liked with developers. Or so I gather as I have never worked with it myself. ...

September 5, 2006 · Patrice Neff

Testing with Selenium

I spent Friday and Saturday at the T.Camp of the Swiss Web consultancy namics. That’s a yearly conference for the namics techies. As a member of the namics sister company local.ch I was also allowed to participate. And like every year for the past five years I held a presentation again. This time I talked about testing. Specifically Selenium. It’s much the same as I’ll talk about on September 12 at the Webtuesday event. You can download the presentation. ...

September 2, 2006 · Patrice Neff