Back to Browse

Testing: Writing Tests for Project List

40 views
Oct 11, 2020
9:24

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

Download

0 formats

No download links available.

Testing: Writing Tests for Project List | NatokHD