Taking an accounting of the state of testing in Examples for Developers.
These either don't have tests, or have tests that don't show up under Examples on the testing page:
Need tests:
- js_example
- tabledrag_example
- vertical_tabs_example
Have tests that aren't run:
field_permission_example (has test)- token_example #2017223: token_example's tests = can of worms.
Ideally they'd all have tests, if only to make sure they install properly.
The ones which are skipped are somewhat puzzling. I wrote the field_permission_example one, and it ran through a local Drupal installation, so something has changed since then.
Also theming_example test fails under PHP 5.4.4 but is happy under 5.2.17.
...And some D7 testing-related issues:
#1249022: Add tests for AjAX Example
#1100190: Improve doxygen formatting of .test files
#786156: Update the SimpleTest tutorial to reflect the 'mock module' pattern.
#1630762: Configuration example for D7, so that the upgrade path to D8 may be demonstrated.
#1862458: Cron_example fails testbot
Comment | File | Size | Author |
---|---|---|---|
#3 | 1858452_3.patch | 4.63 KB | Mile23 |
Comments
Comment #1
Mile23Comment #1.0
Mile23Added #1862458
Comment #1.1
Mile23field_permission_example tests work
Comment #1.2
Mile23Added link to #2017223 for token_example
Comment #2
Mile23This issue needs a bump, so we can convert tests generated here to D8.
Comment #3
Mile23Comment #5
Mile23All modules now have at least an absolute minimum test.
Committed: http://drupalcode.org/project/examples.git/commitdiff/847251314263840bd9...