From bca16b02b11a29db496fb1fb5a124cbd2c686905 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sat, 5 Oct 2013 08:33:02 -0400 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index b7a0b65..5378a7b 100644 --- a/README.md +++ b/README.md @@ -60,3 +60,10 @@ For developers: example output + +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!