Skip to content

[Experimental] CLI utility for writing automated tests for 3rd-party, CLI binaries

License

Notifications You must be signed in to change notification settings

mattburchett/ShellAndTest

 
 

Repository files navigation

Shell And Test

Shell And Test is a CLI application that will capture standard out and standard error streams of a application as well as allow for sending commands via it's standard in streams. It examines the resulted captured in standard out and standard error and tests for criteria specified in a JSON file.

Usage

Shell and Test accepts the following arguments:

  -h, --help              help for ShellAndTest
  -o, --output            Show command outputs
  -d, --testdir string    Provide a path to directory: /path/to/dir/
  -f, --testfile string   Provide a path to json: /path/to/file.json

Command line syntax is the following:

./shellandtest -f test.json
./shellandtest -d /my/app/here
cat test.json | ./shellandtest

About

[Experimental] CLI utility for writing automated tests for 3rd-party, CLI binaries

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.5%
  • Makefile 3.5%