Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tripal/tripaltestsuite

Handle drupal bootstrapping, load environment variables, and easily wrap your tests in DB transactions.
https://github.com/tripal/tripaltestsuite

database-seeder drupal tripal tripal-developer-tools tripal3 unittest

Last synced: 2 months ago
JSON representation

Handle drupal bootstrapping, load environment variables, and easily wrap your tests in DB transactions.

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/statonlab/TripalTestSuite.svg?branch=master)](https://travis-ci.org/statonlab/TripalTestSuite) [![DOI](https://zenodo.org/badge/123318173.svg)](https://zenodo.org/badge/latestdoi/123318173)

## 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.

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

This will install TripalTestSuite along with all of the dependencies.

## Usage Documentation
Please visit our [online documentation](https://tripaltestsuite.readthedocs.io/en/latest) to learn about installation and usage.

## License
TripalTestSuite is licensed under [GPLv3](LICENSE).