Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2009 at 16:31 UTC
Updated:
7 Apr 2009 at 00:00 UTC
This is a break out issue from #364467: Remove-items followed by update items does not work, see comments #35 to #37.
Problem:
Some modules have more than one test file. For instance if a module has a test module, it has at least three files: mymodule.test, mymodule_test.module, mymodule_test.info. This adds to the overall clutter in the modules directory, or 'filesoup' like webchick called it :).
Suggested solution:
Keep all test files in a subdirectory tests/ in the module directory.
Comments
Comment #1
boombatower commentedYou can already put everything in there..? Specifically what are you looking to have changed.
Comment #2
alex_b commented#1:
That's great to know that we _can_ - I wasn't certain about that.
However, this is more about the convention which is not consistent: http://drupal.org/node/364467#comment-1272004
Comment #3
alex_b commented- afterthought: maybe this is not a simpletest issue then?
Comment #4
webchicksubscribe.
Comment #5
boombatower commentedWe discussed this as Drupalcon DC and came to the conclusion that test goes in root [modulename].test and all related files go in tests/ directory.
Please make issues for specific cases.