Posted by jpetso on March 10, 2008 at 10:54pm
I would always have liked to be an optimist, but sometimes I can't. So my feeling is that Dries' call for testing will produce some results (written by a test case creating minority) but won't be nearly enough to defer the code freeze to October, as Dries has promised for a fully covered Drupal core.
So, why not have a proposal for writing lots and lots of simpletests and getting Drupal core fully covered? I can see various benefits with this:
- The student gets to see all of Drupal and will be masterly skilled both in Drupal (and testing) after understanding all those different parts - which comes automatically because of writing simpletests.
- Drupal 7 can become the desired killer release as all the important pieces can go into Drupal before the code freeze - which is deferred until October because there's so much coverage.
- Drupal quality and bugfree-ness goes through the roof.
- And last but not least, modularity: no huge module that needs to be maintained by the student after the SoC has ended (or otherwise goes unmaintained and obsolete). No long-time commitments for the student. No "need to fix it to work at all", simpletests are small (and many) enough to be valuable each on its own. Important point, really.
- Large direct contribution to Drupal core (fame!) without the same level of scrutiny that run-time code gets reviewed with. Doesn't need to be perfect from the start.
Possible drawback: The community doesn't take on its responsibility to also do lots of simpletest, and leaves its work to the student saviour.

Comments
We are sorry, but the spam filter on this site decided (...)
Damn spam filter. Every. filesystemchecking. time. Argh.
Plans
We are definitely going to work very hard to get full testing coverage.
We have a coding sprint and plan here: http://groups.drupal.org/node/9516.
Full list of functional tests that need to be written here: http://groups.drupal.org/node/9408.
And are working hard to get unit testing planned out.
Most likely SoC will be too late for writing tests, as this was talked about and decided against at drupalcon.
Feel free to help us write tests though.
The problem w/ this as a SoC project....
....is that the deadline Dries gave us is in May, before Summer of Code actually starts. :\
i agree but...
if the rest of the community hasn't made major progress on this by the time we match students/projects then perhaps it would still be a good project - the tests would still obviously be valuable even if it doesn't push back the code freeze. And, if the community jumps in perhaps we could expand this to be "cover the top 4 most popular modules" or something.
--
Open Prediction Markets | Drupal Dashboard
knaddison blog | Morris Animal Foundation
Well, ...
On the one hand, greggles' argument (which I agree with).
On the other hand, the community should really be able to get coverage high enough to move the deadline from May until SoC starts, at least.
But hey, I can't do it anyways this year, so if it's not an appropriate project, just skip it :P
There is not a single chance
There is not a single chance (and I suspect Dries knows this) that we will have 100% test coverage by May. Browser testing maybe but unit tests for every. single. Drupal. function? Hardly. The bigger challenge here is that what we will say "this is an SoC task" is kinda blocked from working on until summer which might be a bummer. Still, a project like "write 200 unit tests" is possible.
This idea is still too "wildcardy"...
I'd -1 a project like "write 200 unit tests" and we can't even say "cover our top 4 modules" because we have no idea if they're going to be covered or not. :\ IMO I don't think we have a choice but to reject this proposal, unless anyone else has some smart ideas.