![]() |
|
|
CFEasyMock
Project Home • Blog • Forums • Known Issues • Contact Project
Author: Michael Steele (All RIAForge projects by this author) Description:
CFEasyMock allows you to not only create simple mock objects for use in unit testing frameworks like cf[c]Unit and MXUnit, but also actually verify the behaviour of functions under test when interacting with the mock(s).
Behavioural mocks allow you to: 1. Declare the expected behaviour of your function under test. 2. Record the actual behavior of your function under test. 3. Verify that the expected and actual behaviours match. This is very useful if you have methods that don't return values, or have complex logic in your function under test. Upcoming Features: Stubbing vs. Proxy-Pass-Through: The ability to select some functions in the mock to actually call functions in the real object. Would allow you to selectively mock at the function level.
Recent Blog Entries:
4/17/08 1.1.001 corrects minor issues with Reflect 2.1
4/16/08 Injector support for CFEasyMock 4/14/08 Performance Enhancements 4/9/08 Money where my mouth is... 4/8/08 Chugging away...
Requirements:
CFEasyMock is bundled with the CF8 only compatible version of the reflect project.
The CF7 version (1.0beta) is available via SVN. You can obtain the CF7 version of the reflect package from the reflect.riaforge.org Issue Tracker:
To enter issues for this (or any other) project, you must be logged in. Subversion Access: You may access this project's Subversion repository with your client here: http://svn.riaforge.org/cfeasymock. To view this repository with your browser, go here: http://cfeasymock.riaforge.org/index.cfm?event=page.svnbrowse. You may download the latest set of files from Subversion as a zip file. Anonymous users have read access to the repository while the administrator has write access. This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/ |
||||||||||||||||||||||||||||||||||||||||||||||||
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.