# Test shell

Once you've started writing [Tests](https://pieceofcake2.github.io/docs/development/testing.md) you can run them
using the test shell:

```bash
bin/cake test app AllTests
```

The test shell runs PHPUnit 9.6, which you install as a development dependency
with Composer (`composer require --dev phpunit/phpunit:^9.6`). The
pieceofcake2/app skeleton already includes it, and you can also run the tests
with `vendor/bin/phpunit`.

For more information on basic usage of the test shell see
[Run Tests From Command Line](https://pieceofcake2.github.io/docs/development/testing.md#run-tests-from-command-line).

::: info Changed in version 2.1
The `test` shell was added in 2.1. The 2.0 `testsuite` shell is still available but the new syntax is preferred.
:::
