Skip to content

Releases: tripal/TripalTestSuite

Tripal Test Suite 1.0.0

01 May 14:45
f70eb46
Compare
Choose a tag to compare

Release Notes

  • Added new publish method to convert chado records into tripal entities.
  • Added new HTTP tests to send requests to the website directly
    • Note you need to add BASE_URL=http://mysite.com to .env file
  • Added new db:seed command to populate the database before running tests

Breaking Changes

  • Database seeders do not support down() method any more. Use DBTransaction instead.
  • Database seeders cannon be run automatically any longer. Use tripaltest db:seed to add data to the DB.

Version 0.3.0

23 Apr 18:33
260d5bf
Compare
Choose a tag to compare

Release Notes

  • Fix error in make:test

This is an official release with support for php5.6, php7.0 and php7.1

v0.3.0-beta

06 Apr 22:05
e8f3393
Compare
Choose a tag to compare
v0.3.0-beta Pre-release
Pre-release

Release Notes

  • Added PHP 5.6 support
  • Added Data Factories
  • Added publish() method to Seeder and TripalTestCase to easily publish chado records to entities. Example:
     public function testPublishingFeaturesSucceeds() {
        $features = factory('chado.feature', 100)->create();
        $this->publish('feature');
        // Now we have 100 feature entities. 
        // Get the entities and run assertions ...
     }

V0.2.1

29 Mar 15:55
9fe50b1
Compare
Choose a tag to compare
  • Fixes a bug in make:seeder command

V0.2.0

29 Mar 14:31
Compare
Choose a tag to compare

Release Notes

  • Add DB seeder support
  • Add new make:test and make:seeder commands to quickly create pre-populated test and seeder files
  • Breaking changes:
    • If you are upgrading to from v0.1.0, you'll need to add the following line to tests/bootstrap.php right under the require_once statement.
        new \StatonLab\TripalTestSuite\TripalTestBootstrap();
      

V0.1.0

23 Mar 12:34
283b952
Compare
Choose a tag to compare

Release Notes

  • Add console commands to aid in initializing test environments
  • Add tests for available commands and update documentation

V0.0.7

21 Mar 20:25
22ffa92
Compare
Choose a tag to compare
Merge pull request #16 from statonlab/correct_auto_setup

Correct auto setup

V0.0.6

20 Mar 20:41
Compare
Choose a tag to compare

Fixes a bug where the module name was not correctly extracted resulting in travis builds failing out of the box.

V0.0.5

20 Mar 20:24
Compare
Choose a tag to compare

the travis.yml file is now completely initialized based on your module name.

V0.0.4

20 Mar 19:01
af20f7d
Compare
Choose a tag to compare

Tripal Test suite now has an init function. When installed with composer, simply execute init and the test folder, boot strap, environment example file, and travis yml will all be created automatically.