Skip to content

Suman shell tooling, invoked when `$ suman` is run without any arguments.

License

Notifications You must be signed in to change notification settings

sumanjs/suman-shell

Repository files navigation

Suman-Shell Awesome

A CLI tool for running tests faster and more conveniently

Usage

Run $ suman without any arguments, and it will drop you into this interactive CLI tool. To avoid dropping into suman-shell (this tool), simply use


$ suman -- or $ suman --default


These commands will run suman agains the default test configuration given by suman.conf.js in your project.


If no input is received after 25 seconds, suman-shell will automatically be exited, returning you to your prior terminal session.

What it do

Suman-Shell uses a process pool to run tests more quickly, primarily by pre-loading dependencies from node_modules.

  1. The run command option will execute tests, given a relative or absolute path to a test script.

  2. The find command option will give you a list of runnable test scripts in your project, and you can use the drop down menu to pick which one you want to run.

  3. Execute bash, zsh, sh scripts, using suman> bash "ls -a" or suman>zsh "x y z"