We should write some tests.

Lets start with collecting some things that could be automatically tested.

  • Consistency of the data provided by the is_supported functions (all widgets that are supported as control/target field have to provide some states that they support for example).
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tobias Xy’s picture

Status: Active » Needs review
FileSize
318 bytes
1.16 KB

At least two tests to check the field settings consistency. Will currently fail for text_textarea, but that's correct, because textareas are indeed not correctly configured.

Tobias Xy’s picture

FileSize
1.11 KB

Better put that stuff in a single test method...

Tobias Xy’s picture

Status: Needs review » Fixed

Done. New test cases are still welcome, of course.

  • Commit 8884e47 on 7.x-2.x by Tobias Xy:
    Issue #2250367: Add field settings tests
    

Status: Fixed » Closed (fixed)

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