Skip to content

D0han/mockmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mockmaker

Build Status

How to use:

Run script with desired command as parameter. Repeat for as many parameters as you need.

Example:

./mockmaker git version
./mockmaker git --help
./mockmaker git thiswillfail
./mockmaker svn --version

Outcome:

Directory called "mocks" will be created, with executable file named after mocked command. This file can be run with given earlier parameters and output same stdout, stderr and exit code as original.

Example:

mocks/git
mocks/svn

Contributors:

  • D0han
  • brand0m

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages