mix test
Coverage report: mix coveralls.html.
Pretty information outputted into cover/excoveralls.html
- Install dependencies with
mix deps.get - Run
cp .env.example .envrcif you're on Mac or Linux - Create a GitHub App, Gitlab OAuth application and paste credentials in
.envrc - Compile and build spek
mix do compile, release - Run spek
_build/dev/rel/spek/bin/spek start
mix format
mix credo --strict
Spek Api will roughly follow "functional core" architecture:
Contexts
-
Breeze- Web interface and contexts -
Pulse- OTP-based transient state for Spek -
Spek- OTP Application, Business Logic, and common toolsets -
Telescope- Database, persistent state for Spek
Telescope.Accessnonmutating queriesTelescope.Mutationsmutating queriesTelescope.Queriescomposable Ecto.Query fragmentsTelescope.Schemasdatabase table schemas