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:

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

CommentFileSizeAuthor
#3 1858452_3.patch4.63 KBMile23
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Mile23’s picture

Status: Active » Needs work
Mile23’s picture

Issue summary: View changes

Added #1862458

Mile23’s picture

Issue summary: View changes

field_permission_example tests work

Mile23’s picture

Issue summary: View changes

Added link to #2017223 for token_example

Mile23’s picture

Priority: Normal » Major
Issue summary: View changes
Issue tags: +Needs tests, +Novice

This issue needs a bump, so we can convert tests generated here to D8.

Mile23’s picture

Status: Needs work » Needs review
FileSize
4.63 KB

  • Commit 8472513 on 7.x-1.x by Mile23:
    Issue #1858452 by Mile23: [meta] Examples projects without tests.
    
Mile23’s picture

Status: Needs review » Fixed

All modules now have at least an absolute minimum test.

Committed: http://drupalcode.org/project/examples.git/commitdiff/847251314263840bd9...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.