Testing Drupal - Examples for modules in v7 and v8

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
bighappyface's picture
Start: 
2016-08-16 18:00 - 20:00 America/Chicago
Event type: 
User group meeting

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/

Comments

Hey team, Here is the replay: