Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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).
Comment | File | Size | Author |
---|---|---|---|
#2 | field_conditional_state.test | 1.11 KB | Tobias Xy |
#1 | field_conditional_state-add_tests-2250367-1.patch | 318 bytes | Tobias Xy |
Comments
Comment #1
Tobias Xy CreditAttribution: Tobias Xy commentedAt 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.
Comment #2
Tobias Xy CreditAttribution: Tobias Xy commentedBetter put that stuff in a single test method...
Comment #3
Tobias Xy CreditAttribution: Tobias Xy commentedDone. New test cases are still welcome, of course.