A look at the newest testing framework

With a long list of end-to-end (e2e) test frameworks available to choose from, it’s hard to know which one you should be using.  Cypress and  Selenium are leading the market as the most widely used options, but there’s also  Appium for mobile app testing,  Puppeteer for automating tasks in Chrome, and Protractor for Angular and AngularJS applications, just to name a few.

Recently, a newcomer has joined the pack:  TestProject, a free, open source test automation platform for e2e testing that helps simplify web, mobile, and API testing. The TestProject SDK has language support for Java, C#, Python, and, most recently, JavaScript.

In this article, we’ll show how we can use the  TestProject JavaScript OpenSDK to test a React app with  Jest as our test framework.

Ready to get started?

App Overview

To begin, let’s take a look at the demo app that we’ll be testing. This app is relatively straightforward: just a simple request form in which a user can enter their first name, last name, and email address.

Demo app: request form

Demo app: request form

If the form is submitted without being properly filled out, error messages are shown below each invalid input.

#react #javascript #programming #testing

End-to-End Testing With React, Jest, and the TestProject JavaScript OpenSDK
1.55 GEEK