ScampiGuides

Guides

Getting Started

This guide walks you through installing Scampi and writing your first test.

Co-Located Tests

Scampi lets you place tests alongside your implementation code using the test block. The block only executes when the file is run directly or via the scampi CLI.

Assertions

Scampi provides a chainable .should DSL for assertions. Every assertion is counted as a TAP requirement.

Exceptions and Flow Control

Scampi can assert on exceptions, throws, and state changes.

GitHub Actions

This guide shows how to run Scampi tests in CI with GitHub Actions.