redux-things/redux-actions-assertions

Which assertion frameworks/libraries are you using?

dmitry-zaets opened this issue · 7 comments

Will be useful to know all assertion frameworks/libraries which used by users of redux-actions-assertions.
Feel free to leave a comment.

Running tests through Karma with Jasmine and expect. The examples in the test/ folder were really helpful in formulating them. Using faux-jax to intercept client calls but there have been a few hiccups that still need sorting out.

Viewable in this branch: Kitware/HPCCloud#420

NB: With expect + jasmine we're passing our own done() function which calls done.fail(). Otherwise, with just done() the test will slip through.

@TristanWright thanks for the hint.
Javascript variant is actually accept fail callback as argument, but it was not used in any assertions wrapper. We can add it in order to make testing with Jasmine easier.

I use https://github.com/substack/tape and https://github.com/michaelrhodes/tape-catch to do assertions.

EDIT:
Followed up in #28, works with tape if you set up like this: #28 (comment).

I use Jest primarily.

+1 for Jest. It's really taking off lately, would be really nice to have a shim for that.

Here is the issue: #33
@giuband, will you be able to take it over?