Skip to content

fizx/kissunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Finally, a javascript testing framework I can get my head around. It's presently less than 100 lines, so just read source.

Here's hello world:

<html>
  <head>
    <script src="kiss.js"></script>
    <script>
      var tests = new KISSUnit({
        setUp: function() {
          tests.foo = "bar";
        },
        testFoo: function(){
          assertTrue(true);
          assertEqual("bar", tests.foo);
        }      
      });
      window.onload = function() { tests.run(); }
    </script>
  </head>
  <body>
  </body>
</html>

About

REALLY simple Javascript testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published