© 2023 Hashnode
#testing-library
Let's talk about something I often encounter in Pull Requests: weak unit tests. We'll explore why such tests can lead to unwanted changes landing and what we can do to catch these changes early. I cal…
TestNG annotations are defined before methods in the Test class to control the next batch of code/method to be executed. If in case any of the annotations are NOT defined in front of a test method, th…
If you've been building React applications for some time now, custom hooks are probably a mechanism you've already come across. They help encapsulate custom logic in reusable functions. They behave li…
Recently I've been reading a book "Learning Test Driven Development" by Saleem Siddiqui. After reading a couple of chapters I wanted to try out TDD in practice. In this blog, we'll explore what is TDD…
What is Cypress Testing Library? Testing Library is a family of packages that helps you select and test UI components in a user-centric way. Simply put, it helps you select and interact with elements …
Testing is executing a system to identify any gaps, errors, or missing requirements contrary to the actual requirements. Software testing is divided majorly into 3 categories: Unit Testing: Testing a…
Created by Andrei Solntsev What is Selenide? Wrapper for Selenium WebDriver which allows users to write easier, faster UI Tests. This solves different problems related to Selenium Webdriver, a few of them are; Thread Safety, Run-Time Exc…
Introduction Testing is an important part of coding and in recent years testing has become more popular on the frontend side. Some efforts have been made to make writing tests more approachable to fro…
Only by writing tests can you understand the significance of testing. No coding Bootcamp or course, as far as I know, teaches you how to write tests. Writing tests may not be necessary for demo projec…
OTHER ARTICLES IN SERIES #1: Introduction (i.e This article 😁) #2: Setting up Next.js Project for testing #3: Writing the tests #3A: What should I test? #3B: Testing App Initial Load #3C: User ca…