Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp committed Jan 9, 2024
1 parent 9893a0f commit 304be94
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,25 @@ local disk first.

## Testing

The OG uses [snapshot testing](https://github.com/spatie/phpunit-snapshot-assertions). To run the integration tests,
install [NodeJS](https://nodejs.org/en) (version 20 or above) and install the dependencies with `npm install`. Lastly,
execute the tests with `./vendor/bin/phpunit`.
The OG uses PHPUnit with [snapshot testing](https://github.com/spatie/phpunit-snapshot-assertions).

To run the integration tests, you need to install all Composer dependencies:

```shell
composer install
```

You will also need [NodeJS](https://nodejs.org/en) (version 20 or above) and to install the NPM dependencies:

```shell
npm install
```

Once done, you can execute the tests:

```shell
./vendor/bin/phpunit
```

## Contributing

Expand Down

0 comments on commit 304be94

Please sign in to comment.