Tripal Test Suite
docs

Contents:

  • Installation
  • Creating Tests
  • Running Tests
  • TripalTestCase
  • Database Seeders
  • Factories
  • Using DB Transactions to Automatically Rollback Database Changes
  • Publishing Tripal Entities
  • Testing HTTP Requests
  • User Authentication
  • Helper Methods
  • Environment Variables
  • Upgrading TripalTestSuite
Tripal Test Suite
  • Docs »
  • Welcome to Tripal Test Suite’s documentation!
  • Edit on GitHub

Welcome to Tripal Test Suite’s documentation!¶

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

Support¶

Please visit our issues queue on Github for any questions, issues or contribution.

License¶

TripalTestSuite is licensed under GPLv3.

Contents:

  • Installation
    • Automatic Set Up
    • Forcing initialization
  • Creating Tests
  • Running Tests
  • TripalTestCase
  • Database Seeders
    • Creating Database Seeders
    • Using Database Seeders
    • Running Seeders
    • Retrieving Seeder Data
    • Using DevSeed for Quick Biological Data Seeding
  • Factories
    • Defining Factories
    • Using Factories
    • Overriding Defaults
  • Using DB Transactions to Automatically Rollback Database Changes
  • Publishing Tripal Entities
  • Testing HTTP Requests
    • Available HTTP Testing Methods
  • User Authentication
  • Helper Methods
    • Silently Testing Printed Output
    • Assertions and Methods
    • Access Private and Protected Properties and Methods of Objects
    • Accessing Private and Protected Methods
    • Accessing Properties
  • Environment Variables
  • Upgrading TripalTestSuite
Next

© Copyright 2018, University of Tennessee. Revision 17012527.

Built with Sphinx using a theme provided by Read the Docs.