Mocking framework for testing the code

Added by Jonas von Andrian about 14 years ago

Hi all,

I have been working on #1518 and wrote some tests.
And I really missed the possibility to mock and stub my objects. Plus I dislike the syntax test/unit forces on you.


As ugly as this might be I can live with it.

But I feel, that the lack of mocks makes my tests inefficient.

I would like to add a mocking library to the tests. My personal favorite is mocha.

Whats your opinion?