Recently, while working on a React/Redux based single page application, I was required to choose a testing framework. Since this was my first attempt at testing JavaScript based front-end applications, I started googling around to find the best possible tool to automate testing of my application. It was not long before I ended up being totally confused. Do you know why?
Because there are too many to choose from and it’s tough to decide, since they all do basically the same thing:
- Describe what you’re testing
- Set up what you’re going to test
- Assert whether the thing did what you expect
Having said that, when you have to choose, no matter how hard it is, you have to choose.
Test tools can be divided based on functionalities that they provide. Some provide us with only one functionality, and some provide us with a combination. It’s common to use a combination of…
View original post 755 more words