Skip to main content
Tests are scaffolded with the project and pass from the first run. The setup that usually stands between you and a first test, a configured client, a test database and fixtures for both, is already written. feather new myapp gives you this:
These are real tests that pass from the start, and they are the patterns to follow for your own.

Running tests

Fixtures

The two test clients, and why CSRF needs its own.

Patterns

How to test routes, services and models.

Test database

Isolation between tests, and one fixture trap to avoid.

Framework tests

For contributing to Feather itself rather than building an app:
Most app developers never need these. They cover the framework code in feather/.