Submit A Resource
Contact Us
About Functionn

Subscription Options

Subscribe By Email (265+)



Oct 3, 2012

Author: Hirvesh Posted At: 10/03/2012 Tags: , , , , ,

Doctest.js - A Humane JavaScript Test Framework


Doctest.js is a test runner and testing framework for JavaScript.  Doctest uses a novel approach to testing: example and expected result. Each test is a chunk of code that prints out results and side effects, and then the expected result is matched against that to see if the test passed or failed.

Doctest is based on the Python doctest module originally written by Tim Peters. Spy was inspired some by Jasmine's Spy class, and carries over ideas from MiniMock.  If you've used Python's doctest and found it annoying or not widely useful for doctest: doctest.js fixes all those problems.

Requirements: None
License: MIT License

Daily Posts, Be Updated, Subscribe:

Want Free Web Resources? Enter Your Email And We'll Send It To You - Daily! (265+ Subscribers)

Yup, it's that straight forward! Enter your email address below and we'll send you the latest web resources to your inbox, everyday. We don't do spam. Ever.

Trending Posts On Functionn This Week


Other Interesting Resources:


Post a Comment


Recent Posts

Popular Categories

Popular Components

Popular Licenses