The Application: Getting Started
Explore how to begin testing an Elixir application based on a PostgreSQL bookstore by setting up supervisors and preparing for stateful property testing. Understand the application structure and its interaction with database queries to build a foundation for advanced property-based testing.
We'll cover the following...
We'll cover the following...
The application
The application just starts a standard supervisor without children. This is how it’s done.
defmodule Bookstore.App do
use Application
def start(_type, _args) do
Bookstore.Sup.start_link()
end
def stop(_state) do
...