+2007-07-16 Joshua David Williams <yurimxpxman@gmail.com>
+
+ * test.h: tests made more verbose; now displays the name
+ of each test run.
+
2007-07-05 Micah Cowan <micah@cowan.name>
* cmpt.c, connect.c, connect.h, convert.c, convert.h:
/* from MinUnit */
#define mu_assert(message, test) do { if (!(test)) return message; } while (0)
-#define mu_run_test(test) do { const char *message = test(); tests_run++; \
- if (message) return message; } while (0)
+#define mu_run_test(test) \
+do { \
+ puts("RUNNING TEST " #test "..."); \
+ const char *message = test(); \
+ tests_run++; \
+ if (message) return message; \
+ puts("PASSED\n"); \
+} while (0)
extern int tests_run;