Skip to content

felipesilva/Chameleon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chameleon - version 0.1

a javascript mocking library

dependencies

you'll need those dependencies in order to run chameleon's tests

ruby and rubygems

and hanoi gem:

[sudo] gem install hanoi

running the tests

rake test:js

usage

todo

todo

  • usage

  • an argument to the withArguments function that will represent that the author of the test wants to ignore the check of the argument

  • a new syntax that won't require the creation of a Chameleon Object for each mocked object, something like this

      var c = new Chameleon;
      c.expects('global.method').withArguments(456);
      c.expects(localObj, 'method').withArguments(456);
      c.verify();
      c.reset();
    

About

Javascript mocking library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •