Showing posts with label bdd. Show all posts
Showing posts with label bdd. Show all posts

Monday, May 26, 2014

Willy

I've been working on an assertion library this weekend called Willy.  The goal is to provide a very natural way to write tests.  Chai, Should, and Jasmine are pretty close, but still feel a bit awkward.  Willy provides for tests like:

will(foo).be(bar);
will(foo).have(['a', 'b', 'c']);

Apparently, Peter deHaan from Mozilla thinks it's cool.