Releases: tripal/TripalTestSuite
Releases · tripal/TripalTestSuite
Tripal Test Suite 1.0.0
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
- Note you need to add
- Added new
db:seed
command to populate the database before running tests
Breaking Changes
- Database seeders do not support
down()
method any more. UseDBTransaction
instead. - Database seeders cannon be run automatically any longer. Use
tripaltest db:seed
to add data to the DB.
Version 0.3.0
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
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
- Fixes a bug in
make:seeder
command
V0.2.0
Release Notes
- Add DB seeder support
- Add new
make:test
andmake: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();
- If you are upgrading to from v0.1.0, you'll need to add the following line to
V0.1.0
Release Notes
- Add console commands to aid in initializing test environments
- Add tests for available commands and update documentation
V0.0.7
Merge pull request #16 from statonlab/correct_auto_setup Correct auto setup
V0.0.6
Fixes a bug where the module name was not correctly extracted resulting in travis builds failing out of the box.
V0.0.5
the travis.yml
file is now completely initialized based on your module name.
V0.0.4
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.