Unit testing framework for apps


#1

Hi,

I’m curious what others have experienced in unit testing for client and browser app libraries?

In the past I’ve used http://nightwatchjs.org/ successfully. It does involve setting up the selenium server yet the test to go thru each browser you choose to test against.

What other frameworks do you like?


#2

I’m preparing to add unit testing to

and would like to know what framework people have had good experiences with


#3

Hi!

For unit testing in JS I would recommend using Jest.
Cypress.io would be great for E2E tests.


#4

Thank you!

Cypress.io is looking good from its first page. I’ll experiment with it and see


#5

Cypress is the Cat’s Meow!

Thanks again, I’m converting my other project’s tests to this


#6

My pleasure! Happy testing :slight_smile: