Skip to content

Test CLI tools with the Testing Library API

Simple and complete CLI testing utilities that encourage good testing practices.

Inspired by Testing Library

The Testing Library family of libraries is well loved and thought out to make testing a joy. CLI Testing Library is no different.

Improved debuggability

By running your tests as if they were run in a real terminal, you can see exactly what your users see and have confidence that your tests are correct.

Bring your own testing framework

CLI Testing Library supports any testing framework. Use the one you know and love, yes, even that one.

Made with love

We love open source and are committed to making the best possible testing utilities for the community.