We're projecting a goal to have unit tests and preferably functional tests in core come Ubercart 2.0. This is a little ways out, since we'll first port 1.0 to Drupal 6. However, once we get on Drupal 6 it's open season. For more information, take advantage of the following resources. Please feel free to add your own links in this thread, too.
Many thanks to the Lullabots for their contributions to this list!
- Robert Douglass's List of Resources
- An Introduction to Unit Testing in Drupal by Robert Douglass
- A Drupal Module Developer's Guide to SimpleTest by Angie Byron
- Simpletest Drupalcon Boston 2008 Session Proposal by Angie Byron
- Simpltest Drupalcon Boston 2008 Session Transcript
- Simpletest Project Page
- Simpletest Drupal module
Please hold the patches for now, but feel free to use this forum for discussion and preparation. Testing in core will speed up the development process and help Ubercart become more solid at its core.
(If the testing system shipped with Drupal 7 is deviates from Simpletest, this forum and information will be updated accordingly. I doubt this will happen, but it was still a little up in the air in Dries' keynote.)



Excellent thoughts, and I'd be happy to chat further with you about it. It seems like something like this would do well to start off as a contrib that we can roll into the core package come D6. I haven't had time to investigate SimpleTest much, but I'd be happy to lend some effort here when the time comes. Feel free to start a separate thread when you know what sort of helper functions would be useful, and we can pitch in.
Joined: 08/07/2007