Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aphp1_example80
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Egor Kremnev
aphp1_example80
Commits
2436ce51
Commit
2436ce51
authored
Aug 15, 2023
by
Egor Kremnev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
42c575bb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
build.sh
scripts/build.sh
+2
-0
ExampleTest.php
tests/Unit/ExampleTest.php
+5
-0
No files found.
scripts/build.sh
View file @
2436ce51
...
...
@@ -30,6 +30,8 @@ cp .env.dusk .env
php artisan key:generate
php artisan dusk:chrome-driver
nohup
bash
-c
"php artisan serve --env=dusk --port=4343 2>&1 &"
&&
sleep
5
touch
database/database.unit.sqlite
touch
database/database.dusk.sqlite
php artisan dusk
success
"Completed testing!"
...
...
tests/Unit/ExampleTest.php
View file @
2436ce51
...
...
@@ -2,10 +2,15 @@
namespace
Tests\Unit
;
use
Illuminate\Foundation\Testing\RefreshDatabase
;
use
Illuminate\Foundation\Testing\WithFaker
;
use
PHPUnit\Framework\TestCase
;
use
Tests\CreatesApplication
;
class
ExampleTest
extends
TestCase
{
use
CreatesApplication
,
RefreshDatabase
,
WithFaker
;
/**
* A basic test example.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment