Skip to content

shakacode/js-promises-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-promises-testing

Examples on testing promies with 3 frameworks:

This is our first pick given the simple nature of what we're testing. This article is a good summary of why it's a good default choice: Why I use Tape Instead of Mocha & So Should You

If you like full featured frameworks like RSpec for Rails. The downside to this is that there is a lot of extra complexity for tests that may read a bit nicer.

The API is simple and similar to Blue Tape. This sounds worth pursuing if your test suite has performance issues. Aside from that, I don't know of a compelling reason to choose Ava over Blue Tape.

Pull requests welcome on this sample repo! We don't have to restrict these example comparisons to just promises either.

React UI Testing

We have an example of using Chai + Mocha in the react-webpack-rails-tutorial. Most examples with React testing are using Mocha + Chai.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published