run details for tests
This commit is contained in:
@@ -12,4 +12,4 @@ before_script:
|
||||
- make build
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit
|
||||
- make tests
|
||||
|
||||
3
Makefile
3
Makefile
@@ -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
18
tests/PIREPTest.php
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user