In this video we write tests for the projects list route.
Steps:
1. Create a new test class called ProjectListTest.kt
2. Add tests for redirects related to the project list route
3. Create a ProjectFactory so we can quickly build projects in tests
4. Use the new ProjectFactory to create projects in our tests
Resources:
1. Alpas entity factory: https://alpas.dev/docs/entity-factory
2. Creating entities using the from method: https://alpas.dev/docs/entity-factory#from-method
Source Code:
https://github.com/alpascasts/fireplace/releases/tag/v0.18.0