This commit is contained in:
Thomas Levine 2012-10-10 12:53:03 -04:00
parent 00e33d43fe
commit 6062a8161f
2 changed files with 5 additions and 5 deletions

View File

@ -3,9 +3,7 @@
'\__| '| \ '\_ '| | _|_, |'\| '\__| '| \ '\_ '| | _|_, |'\|
` ' ` ` ' ` ' ' ` ` ' ` ` ' ` ' ' `
Urchin is a language-agnostic lightweight cross-platform test skeleton Urchin is a test framework for shell.
written in POSIX-compliant shell, originally designed for test-driven server deployment
at <a href="https://scraperwiki.com">ScraperWiki</a>.
## Install ## Install
Download Urchin like so (as root) Download Urchin like so (as root)
@ -23,6 +21,9 @@ exit `0` on success and something else on fail. Non-executable files and hidden
files (dotfiles) are ignored, so you can store fixtures right next to your files (dotfiles) are ignored, so you can store fixtures right next to your
tests. Run urchin from inside the tests directory. tests. Run urchin from inside the tests directory.
Urchin only cares about the exit code, so you can actually write your tests
in any language, not just shell.
## More about writing tests ## More about writing tests
Tests are organized recursively in directories, where the names of the files Tests are organized recursively in directories, where the names of the files
and directories have special meanings. and directories have special meanings.
@ -54,4 +55,3 @@ to other files in the same directory.
Files are only run if they are executable, and files beginning with `.` are Files are only run if they are executable, and files beginning with `.` are
ignored. Thus, fixtures and libraries can be included sloppily within the test ignored. Thus, fixtures and libraries can be included sloppily within the test
directory tree. The test passes if the file exits 0; otherwise, it fails. directory tree. The test passes if the file exits 0; otherwise, it fails.

@ -1 +1 @@
Subproject commit 181c5ceaa74e3c1491be097622063ca943f135e1 Subproject commit de346bfccae29732d59aafa946b97dbc76e18cc9