Skip to content
/ spec.js Public

a naive rspec clone written in javascript. mainly for educational purposes.

License

Notifications You must be signed in to change notification settings

tozzr/spec.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spec.js

a naive rspec clone written in javascript. mainly for educational purposes.

you can use it like this:

describe("matcher for integer", function() {
  it("works for equal", function() {
    foo.should(equal(5));
  });
	
  it("works for not_equal", function() {
    foo.should(not_equal(4));
  });
  
  it("works for lower_than", function() {
    foo.should_be(lower_than(6));
  });
});

About

a naive rspec clone written in javascript. mainly for educational purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published