-
Notifications
You must be signed in to change notification settings - Fork 7
leahneukirchen/knock
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Knock is a simplification of the Test Anything Protocol used by Perl and others. Every test suite is a script that prints lines looking like: ok ... for a passed test not ok ... for a failed test # ... for diagnostics Everything else is ignored. Scripts should exit with 0 when they ran all tests and non-0 when there was a fatal error. Included implementations: knock.h (GNU/C99) macros for Knock in C knock.rb Knock for Ruby knock.sh Knock for sh and bash knock.zsh Knock for zsh Tools included are: kn-sum print a summary of the Knock input given on stdin kn-agg print a summary of the Knock input, as Knock line kn-nice reformat Knock to make it easier scannable For usage, see the test suite "test-all" in test/. Why "Knock"? Think "knock on wood... tap tap". (Thanks to Eric Hollensbe for the name idea.) --Christian Neukirchen, 17aug2008
About
Knock is a simplification of the Test Anything Protocol used by Perl and others.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published