<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
 dist
 pkg
 .DS_Store
+config/*.yml
\ No newline at end of file</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,4 @@
-DrNicTest.Unit.Logger = function() {};
-DrNicTest.Unit.Logger.prototype.initialize = function(element) {
+DrNicTest.Unit.Logger = function(element) {
   this.element = $(element);
   if (this.element) this._createLogTable();
 };</diff>
      <filename>src/logger.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,4 @@
-DrNicTest.Unit.MessageTemplate = function() {};
-DrNicTest.Unit.MessageTemplate.prototype.initialize = function(string) {
+DrNicTest.Unit.MessageTemplate = function(string) {
   var parts = [];
   (string || '').scan(/(?=[^\\])\?|(?:\\\?|[^\?])+/, function(part) {
     parts.push(part[0]);</diff>
      <filename>src/message_template.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,4 @@
-DrNicTest.Unit.Runner = function() {};
-
-DrNicTest.Unit.Runner.prototype.initialize = function(testcases) {
+DrNicTest.Unit.Runner = function(testcases) {
   var options = this.options = Object.extend({
     testLog: 'testlog'
   }, arguments[1] || {});</diff>
      <filename>src/runner.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,4 @@
-DrNicTest.Unit.Testcase = function() {};
-// import DrNicTest.Unit.Assertions
-
-for (method in DrNicTest.Unit.Assertions) {
-  DrNicTest.Unit.Testcase.prototype[method] = DrNicTest.Unit.Assertions[method];
-}
-
-DrNicTest.Unit.Testcase.prototype.initialize = function(name, test, setup, teardown) {
+DrNicTest.Unit.Testcase = function(name, test, setup, teardown) {
   this.name           = name;
   this.test           = test     || Prototype.emptyFunction;
   this.setup          = setup    || Prototype.emptyFunction;
@@ -13,6 +6,11 @@ DrNicTest.Unit.Testcase.prototype.initialize = function(name, test, setup, teard
   this.messages       = [];
   this.actions        = {};
 };
+// import DrNicTest.Unit.Assertions
+
+for (method in DrNicTest.Unit.Assertions) {
+  DrNicTest.Unit.Testcase.prototype[method] = DrNicTest.Unit.Assertions[method];
+}
 
 DrNicTest.Unit.Testcase.prototype.isWaiting  = false;
 DrNicTest.Unit.Testcase.prototype.timeToWait = 1000;</diff>
      <filename>src/test_case.js</filename>
    </modified>
    <modified>
      <diff>@@ -37,23 +37,28 @@
   new Test.Unit.Runner({
     // replace this with your real tests
     setup: function() {
-      
+      this.testcase = new DrNicTest.Unit.Testcase(&quot;name&quot;);
     },
     
-    teardown: function() {
-      
-    },
+    // Initial
+    testInitial: function() { with(this) {
+      assertEqual('name', testcase.name);
+      assertEqual(0, testcase.assertions);
+      assertEqual(0, testcase.failures);
+      assertEqual(0, testcase.errors);
+      assertEqual(0, testcase.messages.length);
+    }},
+
+    
+    // Pass
+    testPass: function() { with(this) {
+      testcase.pass();
+      assertEqual(1, testcase.assertions);
+    }},
+
     
-    testTruth: function() { with(this) {
-      assert(true);
-    }}
       
-  }, {testLog: &quot;testlog&quot;}); 
-  // For each Test.UnitRunner instance, specify the element id where results will be
-  // published; e.g. &lt;div id=&quot;testlog&quot;/&gt; above.
-  // That is, you can have multiple &quot;new Test.Unit.Runner() { ... }&quot; on this page, just
-  // create more &lt;div id=&quot;testlog2&quot;&gt;&lt;/div&gt; etc, and pass the element id to the hash above:
-  // e.g. {testLog: &quot;testlog2&quot;}
+  }); 
 // ]]&gt;
 &lt;/script&gt;
 &lt;/body&gt;</diff>
      <filename>test/unit/test_case_test.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9fbea4243707784e18b204e18b8b79c6c96e275c</id>
    </parent>
  </parents>
  <author>
    <name>Dr Nic</name>
    <email>drnicwilliams@gmail.com</email>
  </author>
  <url>http://github.com/drnic/jsunittest/commit/5464c8915e55b2f79b805102bf19902429965629</url>
  <id>5464c8915e55b2f79b805102bf19902429965629</id>
  <committed-date>2008-02-17T05:33:02-08:00</committed-date>
  <authored-date>2008-02-17T05:33:02-08:00</authored-date>
  <message>Basic tests for test_case</message>
  <tree>25c59cdbbc30b31efef6547435c12df691075f30</tree>
  <committer>
    <name>Dr Nic</name>
    <email>drnicwilliams@gmail.com</email>
  </committer>
</commit>
