logo logo
Test-Driven Development for Building User Interfaces

Test-Driven Development for Building User Interfaces

Test-driven development, or TDD, is a programming paradigm in which you write your tests first and your source code second. TDD is perfect when you’re writing code that...

How Code Coverage Tools Can Produce Fragile Tests

How Code Coverage Tools Can Produce Fragile Tests

Code coverage tools are helpful. This article is not about convincing anyone to avoid or ignore them. It's about human behavior and gamification. Developers suffer when they work...

Github Mascot

Using GitHub Actions to Run Automated Tests

GitHub Actions provide workflows for Continuous Integration (CI). They can be invoked from various triggers, but this article specifically focuses on pull requests. By running...

Mocking Observables in JavaScript Tests

Mocking Observables in JavaScript Tests

There are different ways to test components that involve Observables. You might come across tests that are not written properly. These tests are sometimes only green accidentally...

Be Descriptive With Your Test Failures

Be Descriptive With Your Test Failures

Descriptive test failures can save time and money. While the return on investment may not be immediate, future developers (possibly yourself), will appreciate the effort....

Using Selenium WebDriver Waits as Retries in Your Tests

Using Selenium WebDriver Waits as Retries in Your Tests

The topic of Selenium tests failing due to timing issues comes up quite a lot. Random failures are attributed to the interaction being done too early, when the page has either not...

Shadow DOM Elements and Using TestProject’s AI...

So far {1st Part of Shadow DOM series  &  2nd Part of Shadow DOM series}, we are much familiar with Shadow DOM aspects as well as TestProject’s SDK flawless support for...

Mocking Dependencies in Integration Tests with Nock

Mocking Dependencies in Integration Tests with Nock

The software industry is trending toward integration tests for their ability to provide code confidence. However, they are tedious to set up and external influences — a...