tripal / TripalTestSuite

Handle drupal bootstrapping, load environment variables, and easily wrap your tests in DB transactions.
GNU Lesser General Public License v3.0
3 stars 1 forks source link
database-seeder drupal tripal tripal-developer-tools tripal3 unittest

Build Status DOI

Tripal Test Suite

TripalTestSuite is a composer package that handles common test practices such as bootstrapping Drupal before running the tests, creating test file, creating and managing database seeders (files that seed the database with data for use in testing) and much more.

Installation

Within your Drupal module path (e,g sites/all/modules/my_module), run the following.

composer require statonlab/tripal-test-suite --dev

This will install TripalTestSuite along with all of the dependencies.

Usage Documentation

Please visit our online documentation to learn about installation and usage.

License

TripalTestSuite is licensed under GPLv3.