Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

Paris SimpleTest Sprint, Day 2

Parent Feed: 


Only hours ago, after over three years of work on the SimpleTest module, Dries committed the SimpleTest module to core. This is an amazing achievement. Drupal is looking at getting 100% core test coverage, both unit and functional. A lot of work went into the SimpleTest module today before it was committed. We (the Drupal SimpleTest Sprinters) set up an SVN repository containing a version of Drupal with SimpleTest there as a module, and opened it up for all of us to commit. It was chaos (in a good way). Without the roadblock of patches, code was rapidly sucked into the SimpleTest module; finally Dries had to give us a SimpleTest "code freeze" so as to actually start to get stuff to work.

Current SimpleTest Status

SimpleTest is in core! What can be left to do? Actually, a lot, but first, let's go over what we've done today:

And then, there are the things that are left to do:

  • (Update: ) Make the SimpleTest module use the Batch API. This will give us that nice little progress bar that shows us our progress, which is one of the few feasible ways of running so much code.
  • (Update: ) Make the SimpleTest module REALLY comply with coding standards. Not only do we have all the old coding standards SimpleTest issues, but we also now have to make our own SimpleTest-Light library coding standard compliant, as well as alter our code to fit the new string concatenation rule.
  • We need to write tests! Our estimated test coverage at the moment is between 30 and 60 percent, unacceptably low levels. Tests are now easy to write, SimpleTests are in core; everyone, answer this call for help! Write SimpleTests for both core and contributed modules! Make test-driven development a reality!

For more and/or updated ways to help out, please visit http://groups.drupal.org/node/10099.

Author: 
Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web