Skip to content

Instantly share code, notes, and snippets.

View PaoloLaurenti's full-sized avatar
🏠
Working from home

Paolo Laurenti PaoloLaurenti

🏠
Working from home
View GitHub Profile
@PaoloLaurenti
PaoloLaurenti / aggregate_case.ex
Last active May 9, 2020 10:19
A proposal for the Commanded AggregateCase that allows to test aggregates states
defmodule MyApp.AggregateCase do
@moduledoc """
This module defines the test case to be used by aggregate tests.
"""
use ExUnit.CaseTemplate
using aggregate: aggregate do
quote bind_quoted: [aggregate: aggregate] do
@aggregate_module aggregate
@PaoloLaurenti
PaoloLaurenti / resume.md
Last active January 5, 2017 21:21
Resume