Tricentis Transform 2025: the can't-miss event for software quality leaders | Spots are limited

Tag: unit testing

What is Test Architecture? Test architecture can be thought of at two levels. At the broader, more strategic level, test architecture is thinking holistically about the best way to test an application. It can help answer questions, such as, how do we want to use unit, integration, and end-to-end tests to gain coverage? What tests…

There are three ways to test a JavaScript web app. Apart from integration testing and user interface testing, the most important of all is unit testing. With unit testing, you can run independent tests on each function. You have to provide an input that’s supposed to produce a known output. And if the output that…

“If it’s worth building, it’s worth testing” — Kent Beck, pioneer of Test Driven Development Imagine this situation. It is 4:45 pm on a Friday afternoon, and a new feature on the company’s web application for generating sales reports is pushed to production. At 11:30 pm that night, the lead developer gets a frantic call…

JavaScript has come a long way since its initial release. While initially developed to be no more than a simple scripting language, it has become arguably the most important language in modern software development. Developers used to write their JavaScript code in a more or less chaotic way, but with the language being increasingly used…

QUnit is one of the most used automated testing tools for JavaScript, and it’s the subject of this post. But we’re not giving you another QUnit tutorial. Instead, today we’ll focus on a specific facet of working with QUnit: code coverage. The Code Under Test Let’s begin by presenting the code we’re going to test….

Continuous delivery has truly revolutionized the software development industry. Nowadays, most organizations leverage continuous integration (CI) and continuous delivery (CD) to build applications faster. However, the testing practices in many organizations have been slow to catch up. They still rely on traditional practices of having a build phase and then a test phase. This article will…

Writing unit test cases is an import task for a developer. With proper unit testing, you’ll have fewer bugs in the final product. This post will compare two popular testing libraries for React applications: the React Testing Library and Enzyme. We’ll also go through some code examples and show you the strengths and weaknesses of…

As a leader at a tech organization, you know it’s your responsibility to have a solid understanding of the software development life cycle. That includes, of course, software testing and everything it entails. If you sometimes feel overwhelmed, that’s completely understandable: This field’s lexicon is huge and continues to grow. For instance, you might be…

The JavaScript world offers plenty of options for … well, pretty much everything. Today we’ll focus on testing tools, answering the question “What is the best JavaScript framework?” We’ll walk you through five of the most popular JavaScript testing frameworks and, by the end of the article, we’ll be electing the one we think is…

Unit testing’s benefits aren’t restricted to just a few languages. To prove that, today, we’re focusing on TypeScript unit testing. In this post, you’ll learn how to unit test your TypeScript code in a hands-on tutorial. You’ll also learn what unit testing is and what you gain from using it. Since this is a tutorial,…