Tripal Test Suite
latest

Contents:

  • Installation
  • Testing
  • Database Operations
  • Helper Methods
  • Upgrading TripalTestSuite
  • Training Videos
  • Tips and Tricks for Writing Good Tests
  • Contribution Guidelines
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 contributions.

License¶

TripalTestSuite is licensed under GPLv3.

Contents:

  • Installation
    • Adding Test Suite to a New Project
    • Automatic Set Up
    • Environment Variables
    • Forcing initialization
    • Joining an Existing Project
  • Testing
    • Creating Tests
    • Running Tests
    • TripalTestCase
    • Testing HTTP Requests
    • User Authentication
  • Database Operations
    • Database Seeders
    • Factories
    • Using DB Transactions to Automatically Rollback Database Changes
    • Publishing Tripal Entities
  • 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
  • Upgrading TripalTestSuite
  • Training Videos
    • Creating and Running Basic Tests with Tripal Test Suite
    • Factories and Database Transactions with Tripal Test Suite
    • Seeding and Publishing Data with Tripal Test Suite
  • Tips and Tricks for Writing Good Tests
    • Generating Fake Variables: Faker
    • Test Guidelines
  • Contribution Guidelines
    • Creating a Development Environment
    • Performing Tests
    • Structure
    • Including PHP Files
    • Code Style
Next

© Copyright 2018, University of Tennessee Revision 3e877af0.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
docs
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.