• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Testing JavaScript Applications: Jest or not Jest

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I',m actually working with tests in React and JS, using Jest, however I need to be using some other extra tools like Enzyme. What is the principal tool used in your book?, do you speak about another testing tools?

BR
 
Author
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rafael,

The main tool I use in the book is Jest.

Given your situation, I think you will find chapter 6 amazingly useful. It compares multiple different tools to help you test React applications within Jest and explains how they work.

The main tool I use to test React applications in the book is react-testing-library (combined with Jest). It will allow you to render and test components.

Throughout the book, I also cover multiple other tools like Cypress, Sinon's fake timers, and Nock, for example. As you go through the pages you will find many different tools and advice on how to use them in different situations.
 
reply
    Bookmark Topic Watch Topic
  • New Topic