Posted by Stv on May 24, 2006 at 10:02pm
Ok - I'll get yea olde ball rolling with a question: why are the tests for the image and profile modules part of the main "simpletest" distribution?
Are these modules being moved into core?
These tests (duh) fail when these modules aren't present..which they are not in a default drupal + simpletest distro.
One of the big psychological goals of testing is to "prove" that everything is working as it should...so having the default simpletest suite fail because it expects two modules which are not core to be present is counter to that goal...
Thoughts?
s
Comments
hmmm sounds like a reasonable question to me
dang you beat me to first post!
The Idea was: Test a few
The Idea was: Test a few popular modules to make sure changes in the core does not break them.
I agree they would clearly be better placed in the non-core-modules subdirectory.
There is one problem though: This requres to add a simpletest_hook for a module, its just a few lines but I think there hasn't been much communication with the modules maintiners yet.
I think this will happen while the tests are updated to comply with head.
time to move
you are right. image tests should be moved to their image.module. og is an example of a contrib module which implements og_simpletest() hook to do this. so someone should provide a patch for image.module and i'll bug the maintainer if needed to get the code committed.
profile.module is core and thus we can't hope to get its test committed yet. we should assure that the tests does not fail if profile.module is disabled.