Skip to content

skewb1k/iotest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iotest

Minimal CLI tool to verify program output using a simple input/output test file.

Example Usage

myscript.iotest:

input1
---
output1
===
input2
---
output2

Run tests:

iotest myscript.iotest ./myscript.sh

Each of the two tests is run against ./myscript.sh, passing the input to stdin and asserting that stdout matches the expected output.

File Format

  • Each test case consists of input and expected output.

  • Separate input and output with ---.

  • Separate multiple tests with ===.

About

Tool to verify program output using a simple input/output test file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages