Skip to content

connermcd/bash-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

bash-boilerplate

This is a ridiculously simple boilerplate for creating bash scripts with tests. An example is provided.

Usage

  1. Clone it into your project directory.
  2. Put the name of your script in the ./tests/run file.
  3. Add .test files into the tests directory.
    • Inside these files you can source "$MAIN"
  4. Use assert to test your scripts functions and variables.
  5. Make the ./tests/run file executable.
  6. Use ./tests/run to run your tests.

About

Ridiculously simple boilerplate for bash scripts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages