diff --git a/test/index.spec.js b/test/index.spec.js new file mode 100644 index 0000000..0871018 --- /dev/null +++ b/test/index.spec.js @@ -0,0 +1,25 @@ +test.it({ + "'assert' should exist": function() { + test.exists(test.assert); + }, + "truty assert should work": function() { + test.assert(1, '1'); + test.assert('1', 1); + }, + "'equals' should exist": function() { + test.exists(test.equals); + }, + "'equals' should be exact": function() { + test.equals(1,1); + test.equals('hello', 'hello'); + }, + "'pass' should exist": function() { + test.exists(test.pass); + }, + "'fail' should exist": function() { + test.exists(test.fail); + }, + "'exists' should exist": function() { + test.exists(test.exists); + } +}); \ No newline at end of file diff --git a/test/runner.html b/test/runner.html index a6c883e..3319bc8 100644 --- a/test/runner.html +++ b/test/runner.html @@ -5,43 +5,18 @@ Test It Spec - + +