Chapitre 02 — Ocarina, le framework#

Ce chapitre dépile l’intégralité du framework ocarina (Python 3.14+, version 1.1.10) ainsi que du Railway Oriented Programming jusqu’aux plugins de reporting. Il est structuré comme un parcours en couches : du plus profond (le type Result[T]) vers le plus visible (le bootstrap qui démarre tout).

Plan du chapitre#

#SujetFichier ou dossier
01Identité technique, dépendances, toolchain01-identity.md
02Arborescence complète du module + schéma en couches02-module-tree.md
03Railway Oriented Programming03-railway/
04Invariants (validate, assertions, chain_validations)04-invariants/
05Orchestration (Test → TestSuite → TestCampaign → TestCycle)05-orchestration/
06Cycle de vie d’un Scenario06-scenario.md
07Watcher07-watcher.md
08POMBase08-pom-base.md
09Ports & adapters (ILogger, ITakeScreenshot)09-ports.md
10Infrastructure (pool, builder, screenshotter, act counter, adapters Selenium)10-infra/
11Couche opinionated (CLI, loggers, plugins, bootstrap)11-opinionated/
12Custom types & custom errors12-custom-types-errors.md

Lectures connexes#