Coder Social home page Coder Social logo

shut's Introduction

shut

shut helps you to black box test command line tools

black box test means, for the sake of testing, we do not know how the command line tool is implemented. we only know what goes in and what comes out. and the side effects.

command line tool is an executable that does the following:

  • invoked with some or no arguments
  • may read from stdin
  • may read from files or directories
  • may read from environment variables
  • may change, create, or delete files or directories
  • may write to stdout or stderr
  • returns exit status

shut does not test the command line tool directly. you have to write the tests in form of executables that returns exit status 0 for success and exit status other than 0 for fail. optionally print messages which help to determine what went wrong.

shut will then execute the tests and print a nice summary. if some tests failed also print the messages from the tests.

License

Copyright Lesmana Zimmer [email protected]

This program is licensed under GNU GPL version 3 or later. That means you can use this program for any purpose, you can study and modify this program to suit your needs, and you can share this program (in original or modified form) with anyone provided that you do so under the same license. For details see https://www.gnu.org/licenses/gpl-3.0.html

shut's People

Contributors

lesmana avatar

Watchers

 avatar  avatar

shut's Issues

Add license

It would be great if you license it under MIT or similar license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.