Skip to main content

Scrut

A CLI Testing Framework

Easy to Use

Scrut was designed to be simple and straightforward. If you know how to execute your CLI on a shell and you know how to write Markdown then you already know how to write tests for your CLI in Scrut.

Any size fits

Scrut is simple, yet powerful enough to handle any size CLI. From a simple bash script to a complex Java / Rust / C++ / ... binary with many dependencies. Scrut can handle it all.

Maintenance is Life

Do your future self (and any other future maintainer) a big favor and document the intended behavior of your CLI in the form of test-cases in easily readable Markdown test-files.