Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Testing JavaScript Applications: Jest or not Jest

Posts: 24
  • Mark post as helpful
  • send pies
  • 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?

Posts: 8
  • Mark post as helpful
  • send pies
  • 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.
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic