Hey Kenneth,

On 20-Aug-08, at 5:54 AM, fuzziman wrote:
> I've recently released a mock library for the jqUnit framework.
>
> It is intended to be a lightweight javascript Mock Framework, and  
> allows
> dependent functions such as native alert dialogs to be mocked and  
> tested in
> isolation.
>
> I hope this library can be useful for real life usage. Please have a  
> look,
> there's really detailed documentation and a user guide. I'm looking  
> forward
> to any code reviews and feedback!
>
> Hosted on google code at  http://code.google.com/p/jqmock/
> http://code.google.com/p/jqmock/

This is really impressive! Very cool stuff, and with excellent  
documentation. I'll definitely be using it in my tests.

A quick question: I'd love to be able to use jqMock to test the  
sequence of a set of function calls. So, for example, I'd like to be  
able to test that one function is always called before another  
function. I've hacked this up in a very simplistic way, but this seems  
like a perfect use for mocks. Is this possible in the current version  
of jqMock?

And a comment: I've been talking a bit with Jörn Zaefferer about  
merging anything of interest from jqUnit into QUnit now it is  
supported as a top-level API. While I haven't heard back from him  
recently, I'm looking forward to the prospect of jqUnit going away  
entirely in place of QUnit, since I never intended it as a product in  
itself. I've offered to help in any way I can.

Keep up the good work. I'm looking forward to seeing the new features  
you add to jqMock in the future!

Colin

---
Colin Clark
Technical Lead, Fluid Project
http://fluidproject.org

Reply via email to