run details for tests

This commit is contained in:
Nabeel Shahzad 2017-06-08 23:00:30 -05:00
parent 7756e432b3
commit 95fd412ff4
3 changed files with 22 additions and 1 deletions

View File

@ -12,4 +12,4 @@ before_script:
- make build
script:
- vendor/bin/phpunit
- make tests

View File

@ -23,6 +23,9 @@ reset-db:
rm database/testing.sqlite
make db
test:
vendor/bin/phpunit --testdox tests
schema:
#php artisan infyom:scaffold Airlines --fieldsFile=database/schema/airlines.json
php artisan infyom:scaffold Aircraft --fieldsFile=database/schema/aircraft.json

18
tests/PIREPTest.php Normal file
View File

@ -0,0 +1,18 @@
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class PIREPTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testExample()
{
$this->assertTrue(true);
}
}