Now that you have Inso installed, you can start using Inso. First, make sure that your terminal's current working directory contains a .insomnia directory, or that you have Insomnia installed with a specification.

Here are some of the most common commands.

Lint specification

$ inso lint spec

Run tests

$ inso run test

Generate Kong configuration

$ inso generate config

Export specification

$ inso export spec

All of the Inso commands will prompt for the information they need, if not provided. For example, if the unit test suite to run is not provided, Inso will prompt according to the data source, and can be disabled via a --ci global option.

Data Source →