Skip to content

Testing Drupal - Examples for testing modules in v7 and v8

Photo of David Porter
Hosted By
David P.
Testing Drupal - Examples for testing modules in v7 and v8

Details

Hey Gang,

In our last meeting we talked about testing and having a mid-quarter meeting to demonstrate testing modules in both D7 and D8.

Let's get together and review two examples of testing a module in D7 and D8.

D7

Unit tests with Simpletest

Functional tests with Simpletest

D8

Unit tests with PHPUnit

Functional tests with Simpletest

---

Here are some resources to review in the interim:

https://www.drupal.org/simpletest

https://api.drupal.org/api/drupal/core%21core.api.php/group/testing/8.2.x

https://www.sitepoint.com/automated-testing-drupal-8-modules/

---

Google Plus Event (Video):

https://plus.google.com/events/crba5bm8jev1mvs9k5elcs405hs

Photo of San Antonio Drupal Users Group group
San Antonio Drupal Users Group
See more events
Texas Creative
334 N Park Dr · San Antonio, TX