Skip to content

Commit

Permalink
docs: update dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
uwla committed Aug 12, 2024
1 parent fa71b3c commit ffef5ed
Show file tree
Hide file tree
Showing 2 changed files with 2,108 additions and 995 deletions.
20 changes: 10 additions & 10 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ git clone https://github.com/uwla/lacl && cd lacl && composer install && compose

## Project structure

- `database/migration/`: database migration files
- `database/migrations/`: database migration files
- `src/`: source files
- `src/Contracts`: interfaces used in the package
- `src/Models`: database eloquent models
- `src/Traits`: traits provided by the package
- `src/Contracts/`: interfaces used in the package
- `src/Models/`: database eloquent models
- `src/Traits/`: traits provided by the package
- `src/AclServiceProvider.php`: this Service Provider publishes migration files
- `tests`: test files
- `tests/app`: sample `app` for mocking tests
- `tests/Feature`: integration tests
- `tests/`: test files
- `tests/app/`: sample `app` for mocking tests
- `tests/Feature/`: integration tests
-
## Testing

To run the the tests you need `pdo_sqlite` extension installed and enabled in `php.ini`.
To run the tests you need `pdo_sqlite` extension installed and enabled in `php.ini`.

* Run all tests:
```shell
composer test
```
* Run a single test (for example, `HasPermissionTest`:
* Run a single test (for example, `HasPermissionTest`):
```shell
composer test ./tests/Feature/HasPermissionTest.php
```
```
Loading

0 comments on commit ffef5ed

Please sign in to comment.