Browse files

Stubbing not mocking

Subtle difference to the uninitiated, but important.
  • Loading branch information...
1 parent 6406f16 commit e19ef101d72556c2578d352717438749bce893da @felixge committed Jun 13, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3
@@ -2,13 +2,13 @@
## Purpose
-A node.js module that helps with mocking and behavior verification.
+A node.js module that helps with stubbing and behavior verification. It allows you to test the most remote and nested corners of your code while keeping being fully unobtrusive.
## Features
-* Overwrite and mock individual object functions
+* Overwrite and stub individual object functions
* Verify that all expected calls have been made in the expected order
-* Restore mocked functions to their original behavior
+* Restore stubbed functions to their original behavior
* Detect object / class names from and obj.toString()
## Installation

0 comments on commit e19ef10

Please sign in to comment.