Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
edit, change values, reorder, add new, save - many different combinations
Test both creation and editing
Test on test_entity, but this will require menu callbacks, saving entities in the database, etc.
These are not pure unit tests; they require the built-in browser.
Some of this is already done for CCK, some is not.
Comments
Comment #1
yched CreditAttribution: yched commentedI started to work on this
Comment #2
yched CreditAttribution: yched commentedfield_test.module now has the required scaffolding : load(), save(), db storage, menu callbacks and add / edit forms.
Actual forms tests can now be written
Unassigning myself - doesn't mean I won't write tests myself, but anyone can help :-)
Comment #3
drupal_was_my_past CreditAttribution: drupal_was_my_past commentedI believe this is fixed and work started on it in #361683: Field API initial patch. See the current state of the code.