run details for tests
This commit is contained in:
@@ -12,4 +12,4 @@ before_script:
|
|||||||
- make build
|
- make build
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit
|
- make tests
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -23,6 +23,9 @@ reset-db:
|
|||||||
rm database/testing.sqlite
|
rm database/testing.sqlite
|
||||||
make db
|
make db
|
||||||
|
|
||||||
|
test:
|
||||||
|
vendor/bin/phpunit --testdox tests
|
||||||
|
|
||||||
schema:
|
schema:
|
||||||
#php artisan infyom:scaffold Airlines --fieldsFile=database/schema/airlines.json
|
#php artisan infyom:scaffold Airlines --fieldsFile=database/schema/airlines.json
|
||||||
php artisan infyom:scaffold Aircraft --fieldsFile=database/schema/aircraft.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