shellio

What is shellio?

Shellio is snapshot testing tools for cli application. You can confirm that the output of you cli apps is not changed with shellio. Shellio can be used for any platform; Windows, mac, linux.

shellio exec image
          {
  "name": "test name",
  "specs": [
    {
      "describe": "title of test case",
      "command": "command to execute",
      "results": ".spec/sample1_ls.snapshot"
    }
  ]
}
        

How to write test code?

All you have to do is write config file called shellio.spec.json. You can specify the command to test, and test case.

Option

You can specify the spec file with -s or --specfile option when you use shellio.

option