Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beyondcode/dusk-dashboard
A beautiful dashboard for your Laravel Dusk tests
https://github.com/beyondcode/dusk-dashboard
dusk laravel tests
Last synced: 3 months ago
JSON representation
A beautiful dashboard for your Laravel Dusk tests
- Host: GitHub
- URL: https://github.com/beyondcode/dusk-dashboard
- Owner: beyondcode
- License: mit
- Archived: true
- Created: 2018-11-19T20:39:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-18T21:12:36.000Z (almost 3 years ago)
- Last Synced: 2024-09-18T04:16:31.342Z (4 months ago)
- Topics: dusk, laravel, tests
- Language: PHP
- Homepage: https://pociot.dev/8-introducing-laravel-dusk-dashboard
- Size: 106 KB
- Stars: 559
- Watchers: 14
- Forks: 62
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- favorite-link - Laravel Dusk 基于 laravel 测试的漂亮仪表板。
README
# Laravel Dusk Dashboard
A beautiful dashboard for your Dusk test suites.
[![Latest Version on Packagist](https://img.shields.io/packagist/v/beyondcode/dusk-dashboard.svg?style=flat-square)](https://packagist.org/packages/beyondcode/dusk-dashboard)
[![Quality Score](https://img.shields.io/scrutinizer/g/beyondcode/dusk-dashboard.svg?style=flat-square)](https://scrutinizer-ci.com/g/beyondcode/dusk-dashboard)
[![Total Downloads](https://img.shields.io/packagist/dt/beyondcode/dusk-dashboard.svg?style=flat-square)](https://packagist.org/packages/beyondcode/dusk-dashboard)![](https://pociot.dev/storage/22/dusk-dashboard.gif)
## Installation
You can install the package via composer:
```bash
composer require beyondcode/dusk-dashboard --dev
```Next up, you need to go to your `DuskTestCase.php` that was installed by Laravel Dusk. You can find this file in your `tests` directory:
Find and replace this line:
```php
use Laravel\Dusk\TestCase as BaseTestCase;
```
with:
```php
use BeyondCode\DuskDashboard\Testing\TestCase as BaseTestCase;
```## Usage
```
php artisan dusk:dashboard
```Check out the documentation [here](https://pociot.dev/8-introducing-laravel-dusk-dashboard).
### Handling Asset Paths
Assets may not load or display properly when using relative paths due to port specification. Using Larvel's [Path Helpers](https://laravel.com/docs/5.7/helpers#available-methods) such as the `url()` and `asset()` helpers (Ex: `{{ url('path/to/asset.css') }}`) will help overcome these pathing issues.
### Testing
``` bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Marcel Pociot](https://github.com/mpociot)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.