Tutorials
Step-by-step guides to help you get started and master r2r and Everything-as-Code workflows. These learning-oriented tutorials take you from installation through advanced practices.
Learning Paths
Choose your path based on your experience level:
Beginner Path
Goal: Get r2r installed and understand the fundamentals
Start here if you're new to r2r and Everything-as-Code:
- Getting Started - Installation, first spec, first module, test suites
- Quick Start - Install and run first commands
- Your First Specification - Write Gherkin specs
- Your First Module - Create a Go module
- Understanding Test Suites - Test levels and suites
Developer Path
Goal: Master daily development workflows
Continue here to learn productive development practices:
- Core Workflows - TDD, building, testing, worktrees, releases
- TDD with Specifications - Full TDD loop
- Building and Testing Changes - Efficient builds
- Working with Git Worktrees - Parallel development
- Making Your First Release - Changelog and tags
Advanced Path
Goal: Implement compliance automation and CI/CD
Continue here for power user features:
- Advanced Practices - Compliance, CI/CD, multi-module, extensions
- Compliance-as-Code Basics - GxP automation
- CI/CD Integration - GitHub Actions setup
- Multi-Module Development - Dependencies
- Creating Custom Commands - Extend CLI
Specialized Topics
Goal: Deep dive into specific areas
Choose topics based on your needs:
- Specialized Topics - BDD, architecture, security, TypeScript
- Effective BDD Scenarios - Example Mapping
- Architecture Documentation - C4 diagrams
- Security Scanning Workflow - SAST, SBOM
- TypeScript Module Setup - npm modules
Tutorial Format
Each tutorial follows a consistent structure:
- Prerequisites - What you need before starting
- Learning objectives - What you'll accomplish
- Step-by-step instructions - Detailed walkthrough with commands
- Key concepts - Important takeaways
- Troubleshooting - Common issues and solutions
- Next steps - Where to go next
About These Tutorials
These tutorials follow the Diataxis framework and are learning-oriented. They're designed to:
- Take you through a series of steps to complete a project
- Help you learn by doing (hands-on practice)
- Build your understanding progressively
- Give you confidence through small wins
Not what you need?
- For specific tasks: See How-to Guides
- For technical details: See Reference
- For understanding concepts: See Explanation
Getting Help
- Stuck on a tutorial? Check the troubleshooting section in each tutorial
- Need more detail? See the Reference documentation
- Want to understand why? See Explanation docs
- Have feedback? Open an issue on GitHub
Tutorials | How-to Guides | Explanation | Reference
You are here: Tutorials — learning-oriented guides that take you through steps to complete a project.