Mocking framework for testing the code

Added by Jonas von Andrian over 9 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.

Describing_tests_with_underscores_is_so_painful_and_difficult_to_read

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?

Jonas