Skip to main content

Testing

Drupal 8 FTW: Is it a test or is it a form? Actually, its both

by Lee Rowlands /

As you'd be aware by now - Drupal 8 features lots of refactoring of form procedural code to object-oriented.

One such refactoring was the way forms are build, validated and executed.

One cool side-effect of this is that you can now build and test a form with a single class.

Yep that's right, the form and the test are one and the same - read on to find out more.

Read the full post

Pagination