react-testing-library

react-testing-library

DevOps / Build, Test, Deploy / Testing Frameworks
Shared insights
at

I'm working as one of the engineering leads in RunaHR. As our platform is a Saas, we thought It'd be good to have an API (We chose Ruby and Rails for this) and a SPA (built with React and Redux ) connected. We started the SPA with Create React App since It's pretty easy to start.

We use Jest as the testing framework and react-testing-library to test React components. In Rails we make tests using RSpec.

Our main database is PostgreSQL, but we also use MongoDB to store some type of data. We started to use Redis  for cache and other time sensitive operations.

We have a couple of extra projects: One is an Employee app built with React Native and the other is an internal back office dashboard built with Next.js for the client and Python in the backend side.

Since we have different frontend apps we have found useful to have Bit to document visual components and utils in JavaScript.

READ MORE
22 upvotes·3.1M views
Needs advice
on
CypressCypressSelenideSelenide
and
WebdriverIOWebdriverIO

Hi, I am starting out to test an application that is currently being developed - FE: React. BE: Node JS. I want the framework to be able to test all UI scenarios (from simple to complex) and also have the capability to test APIs. I also need to run tests across all OSs and Browsers (Windows, Mac, Android, iOS). I have also looked into react-testing-library and @TestProject.io. Any advice you can give as to which framework would be best and why would be so much appreciated! Thank you!!

READ MORE
3 upvotes·93.1K views
Replies (3)
Recommends
on
Playwright

You should also definitely look into Playwright, which is a new automation tool from Microsoft building on top of the Puppeteer experience and trying to bring this experience in the cross browser space - very exciting project. Great team. Also CodeceptJS as already Playwright support which at a ton of valuable features on top of Playwright, give it a go!

READ MORE
4 upvotes·76.5K views
Test Automation Specialist at Personal·
Recommends
on
WebdriverIO

I'm also looking for the same, FE: React & BE: NodeJS. Cypress won't help as it lacks cross-browser testing, it doesn't support all the browsers. I'm still investigating it, but looks like WebdriverIO may fulfil what I'm looking for - Cross-browser testing, integration with CI/CD, running it as a docker service, good support on assertions & reporting of test results. Let me know if you found any information on any of the above mentioned points.

READ MORE
3 upvotes·2 comments·76.5K views
Jinesh Khimsaria
Jinesh Khimsaria
·
April 2nd 2020 at 4:40PM

Forgot to mention but also Selenium Grid 2 can also help provided it helps identifying the web elements/objects of your website

·
Reply
mike cataldo
mike cataldo
·
March 11th 2021 at 8:18PM

Hi, Esther! Regarding your requirement around testing on all OSs and browsers, can you clarify that a bit more? Which browsers are you mainly concerned about and are you testing a native mobile app or one that can be tested on a desktop with a mobile viewport size?

·
Reply
View all (3)