Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.76 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.76 KB

Sharness

Sharness is a portable shell library to write, run, and analyze automated tests for Unix programs. Since all tests output TAP, the Test Anything Protocol, they can be run with any TAP harness.

Sharness was derived from the Git project - see README.git for the original documentation.

Usage

The following files are essential to using Sharness:

  • sharness.sh - core shell library providing test functionality, see separate API documentation
  • aggregate-results.sh - helper script to aggregate test results
  • Makefile - test driver

Copy them to the project you want to write automated tests for, e.g. to a folder named test.

To learn how to write and run actual test scripts based on sharness.sh, please read README.git until I come up with more documentation myself.

Projects using Sharness

See how Sharness is used in real-world projects:

License

Sharness is licensed under the terms of the GNU General Public License version 2 or higher. See file COPYING for full license text.

Contact