Articles Tagged
testing
Testing React Hooks With Enzyme and React Testing Library
As you begin to make use of React hooks in your applications, you’ll want to be certain the code you write is nothing short of solid. There’s nothing like shipping buggy code. One way to be certain your code is …
How We Perform Frontend Testing on StackPath’s Customer Portal
Nice post from Thomas Ladd about how their front-end team does testing. The list feels like a nice place to be:
- TypeScript – A language, but you’re essentially getting various testing for free (passing the right arguments and types of
#178: Percy Catches Visual Changes in any Workflow
I wanted to make sure you understand exactly what Percy can do for you, hence the title. When you commit a change to your websites Git repo, like in a Pull Request workflow most of us live in, Percy will …
Recipes for Performance Testing Single Page Applications in WebPageTest
WebPageTest is an online tool and an Open Source project to help developers audit the performance of their websites. As a Web Performance Evangelist at Theodo, I use it every single day. I am constantly amazed at what it …
Model-Based Testing in React with State Machines
Testing applications is crucially important to ensuring that the code is error-free and the logic requirements are met. However, writing tests manually is tedious and prone to human bias and error. Furthermore, maintenance can be a nightmare, especially when features …
Lessons Learned from a Year of Testing the Web Platform
Mike Pennisi:
…The web-platform-tests project is a massive suite of tests (over one million in total) which verify that software (mostly web browsers) correctly implement web technologies. It’s as important as it is ambitious: the health of the web depends
Types or Tests: Why Not Both?
Every now and then, a debate flares up about the value of typed JavaScript. “Just write more tests!” yell some opponents. “Replace unit tests with types!” scream others. Both are right in some ways, and wrong in others. Twitter affords …
Using Cypress to Write Tests for a React Application
End-to-end tests are written to assert the flow of an application from start to finish. Instead of handling the tests yourself — you know, manually clicking all over the application — you can write a test that runs as you …
Getting Started with React Testing Library
I can guess what you are thinking: another React testing library? So many have already been covered here on CSS-Tricks (heck, I’ve already posted one covering Jest and Enzyme) so aren’t there already enough options to go around?
But …
The Three Types of Performance Testing
We’ve been covering performance quite a bit — not just recently, but throughout the course of the year. Now, Harry Roberts weighs in by identifying three types of ways performance can be tested.
Of particular note is the first …