Chapter 02 — Ocarina, the framework#

Unpacks the whole ocarina framework (Python 3.14+, v1.1.10) and Railway Oriented Programming straight through to the reporting plugins. Structured as a layered walk: deepest (the Result[T] type) to most visible (the bootstrap that boots everything).

Chapter plan#

#SubjectFile or folder
01Technical identity, dependencies, toolchain01-identity.md
02Full module tree + layered diagram02-module-tree.md
03Railway Oriented Programming03-railway/
04Invariants (validate, assertions, chain_validations)04-invariants/
05Orchestration (Test → TestSuite → TestCampaign → TestCycle)05-orchestration/
06Lifecycle of a Scenario06-scenario.md
07Watcher07-watcher.md
08POMBase08-pom-base.md
09Ports & adapters (ILogger, ITakeScreenshot)09-ports.md
10Infrastructure (pool, builder, screenshotter, act counter, Selenium adapters)10-infra/
11Opinionated layer (CLI, loggers, plugins, bootstrap)11-opinionated/
12Custom types & custom errors12-custom-types-errors.md