<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>tests/README</filename>
    </added>
    <added>
      <filename>tests/aggregate-results.sh</filename>
    </added>
    <added>
      <filename>tests/t0000-config.sh</filename>
    </added>
    <added>
      <filename>tests/test-lib.sh</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1 +1,3 @@
 VERSION-FILE
+tests/test-results
+tests/trash\ directory.*</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -29,6 +29,23 @@ dist: $(DISTFILES) todo.sh
 clean:
 	rm -f $(DISTNAME).tar.gz $(DISTNAME).zip
 
-.PHONY: test
-test:
-	@echo &quot;TBD!&quot;
+#
+# Testing
+#
+TESTS = $(wildcard tests/t[0-9][0-9][0-9][0-9]-*.sh)
+#TEST_OPTIONS=--verbose
+
+test-pre-clean:
+	rm -rf tests/test-results &quot;tests/trash directory&quot;*
+
+aggregate-results: $(TESTS)
+
+$(TESTS): test-pre-clean
+	-cd tests &amp;&amp; sh $(notdir $@) $(TEST_OPTIONS)
+
+test: aggregate-results
+	tests/aggregate-results.sh tests/test-results/t*-*
+	rm -rf tests/test-results
+    
+# Force tests to get run every time
+.PHONY: test test-pre-clean aggregate-results $(TESTS)</diff>
      <filename>Makefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0b3d9109deaf698f8b84b6850469e98b2e75f47f</id>
    </parent>
  </parents>
  <author>
    <name>Emil Sit</name>
    <email>sit@emilsit.net</email>
  </author>
  <url>http://github.com/ginatrapani/todo.txt-cli/commit/b17cb11ec6d285b010c720412cdccbceddd2357d</url>
  <id>b17cb11ec6d285b010c720412cdccbceddd2357d</id>
  <committed-date>2009-04-02T18:09:10-07:00</committed-date>
  <authored-date>2009-03-23T09:03:34-07:00</authored-date>
  <message>Initial test framework and first test.

Add a basic test framework, borrowed from the framework used
by git.git.  A shell script library (tests/test-lib.sh) helps
generate the fixtures, and simplifies the process of writing
test scripts.  Tests can be run as a suite (via 'make test')
or individually (sh tests/t0000-config.sh).  Results are aggregated
upon completion.  Includes a detailed README.

A basic test of config file processing is part of this commit.

Signed-off-by: Emil Sit &lt;sit@emilsit.net&gt;</message>
  <tree>f20dd4b3f411c7296d09f2a82ac480939aca6604</tree>
  <committer>
    <name>Emil Sit</name>
    <email>sit@emilsit.net</email>
  </committer>
</commit>
