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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Testing JavaScript Applications: Effective automation

 
Ranch Hand
Posts: 165
Netbeans IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Which is better testing framework in terms of getting the quick results and what are main advantages of  having framework in terms supporting automation ?
 
Author
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Divya,

> Which is better testing framework in terms of getting the quick results and what are main advantages of  having framework in terms supporting automation?

It depends on what you want to test.

For UI E2E tests I recommend Cypress. It's the easiest one to get started with.

For other kinds of tests, I particularly like Jest, since it bundles assertions, a test runner, and tools for working with test doubles. Because Jest bundles these tools, you don't need to install and configure them yourself.

The main advantage of automating tests is described in detail in the book's first chapter, but to summarize, the more you execute them, the more time you will have saved yourself from going through functionality manually. Also, by automating them you can ensure that the test will perform the same exact steps every time, instead of relying on humans, which can often forget things or do them in different ways. I recommend you to read the book's first chapter for more details.

 
These are the worst of times and these are the best of times. And this is the best tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic