Update README.md

This commit is contained in:
2013-10-05 08:33:02 -04:00
parent b945a9c8f8
commit bca16b02b1

View File

@@ -60,3 +60,10 @@ For developers: example output
</failure>
</testcase>
</testsuite>
shunit vs shunit2
=================
This library should not be confused with shunit2 (http://shunit2.googlecode.com/svn/trunk/source/2.1/doc/shunit2.html). They are completely unrelated! I didn't even know shunit2 existed until long after I made this.
shunit2 seems neat, but I prefer shunit's style. shunit2 looks like it's trying to be a java-ish unit testing library, and doesn't operate very much like bash. shunit is much simpler; you don't need to know any assert commands, special constants, or how to report failure. You do your tests however you want, report error on stderr, return non-zero to indicate failure. It doesn't get much simpler than that!