Skip to content

Instantly share code, notes, and snippets.

View vlymar's full-sized avatar

Victor Lymar vlymar

View GitHub Profile
@vlymar
vlymar / integration_case.ex
Created November 19, 2025 22:40 — forked from Valian/integration_case.ex
a custom test reporter to ExUnit saving HTML report about used LLM calls during integration tests
defmodule Postline.IntegrationCase do
@moduledoc """
This module defines the setup for tests requiring
access to real external services like OpenAI.
Integration tests are meant to test actual integration with
third-party services and are not run by default with `mix test`.
Use `mix test.integration` to run integration tests.