mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-22 05:54:01 +00:00
40 lines
628 B
Markdown
40 lines
628 B
Markdown
## Shipping portal documentation
|
|
|
|
simple documentation on how to install, run, test, commit and deploy application
|
|
|
|
## creating and running unit tests
|
|
|
|
Required Tools
|
|
|
|
- Chromium Driver / selenium
|
|
- add running and setting selenium on all OS if possible
|
|
|
|
Required Packages :
|
|
|
|
- laravel/legacy-factories
|
|
|
|
- codeception/codeception
|
|
|
|
Or Simply Run
|
|
|
|
``Composer install``
|
|
|
|
To create a unit test
|
|
|
|
``php artisan make test: Test Example --unit``
|
|
|
|
Running the tests :
|
|
|
|
Running a single Test
|
|
|
|
`` php artisan test --filter Example``
|
|
|
|
Running Unit tests -
|
|
|
|
`` php artisan test ``
|
|
|
|
Running Codeception tests -
|
|
|
|
``vendor/bin/codecept run``
|
|
|