Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which assertion frameworks/libraries are you using? #3

Open
dmitry-zaets opened this issue May 23, 2016 · 7 comments
Open

Which assertion frameworks/libraries are you using? #3

dmitry-zaets opened this issue May 23, 2016 · 7 comments

Comments

@dmitry-zaets
Copy link
Member

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

@TristanWright
Copy link
Contributor

TristanWright commented Jun 7, 2016

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

@TristanWright
Copy link
Contributor

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

@dmitry-zaets
Copy link
Member Author

@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.

@adamyonk
Copy link
Contributor

adamyonk commented Sep 12, 2016

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).

@StevenACoffman
Copy link

I use Jest primarily.

@adamyonk
Copy link
Contributor

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

@dmitry-zaets
Copy link
Member Author

dmitry-zaets commented Jan 10, 2017

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

@dmitry-zaets dmitry-zaets reopened this Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants