1 / 4

Mocha: the Unit-tester Bob Schmertz <rschmertz@yahoo>

By TJ Holowaychuk, of ExpressJS fame “simple, flexible, fun” Supports testing on server side and client side Supports various testing behaviors (expect, should, assert) thru 3rd-party libraries. Chai is a good choice here. Mocha: the Unit-tester Bob Schmertz <rschmertz@yahoo.com>.

easter
Download Presentation

Mocha: the Unit-tester Bob Schmertz <rschmertz@yahoo>

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. By TJ Holowaychuk, of ExpressJS fame “simple, flexible, fun” Supports testing on server side and client side Supports various testing behaviors (expect, should, assert) thru 3rd-party libraries. Chai is a good choice here. Mocha: the Unit-testerBob Schmertz <rschmertz@yahoo.com>

  2. Why I use it • TDD a proven approach to software development • High visibility – comes out well in comparison with similar tools such as Vows, QUnit, Jasmine • Understandable approach to testing asynchronous stuff. • NYAN cat reporter

  3. NYAN NYAN NYAN-NYAN...

  4. Sample Code:

More Related