Slide 4
Slide 4 text
OUT OF THE BOX
▸ Routes
▸ mix phoenix.routes
▸ Controllers
▸ Views
▸ Tests
▸ mix test
Let’s take a look at what we get with our routes, our basic gets scoped through our index and an api pipeline.
First time we run our tests, we compile these files, we should see an error because we haven’t set up our test repo.
createdb {db test name} remove username and password
config/test.exs
check out the basic test infrastructure we get, so awesome!