Tag: unit testing

Unit testing is important to verify the behavior of the smallest units of code in your application. It helps improve the quality of your code and reduces the amount of time and money you spend on bug fixing. Moreover, unit testing helps you find bugs early on in the development life cycle and increases your…

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…

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 many libraries available to write unit tests for your JavaScript code. One popular option is QUnit. Let’s look at how you can get started with QUnit. But let’s not stop there. Measuring code coverage of your tests is a useful metric to gain insights and improve your test suite. We’ll open the tutorial…

There are many types of automated testing out there: front-end testing, smoke testing, load testing, end-to-end (E2E) testing, and that’s to name only a few. If you want to design a sound testing strategy with the best possible ROI—and who doesn’t want that? It’s crucial to understand all of these types of testing, learning the…

If you’re a front-end developer, you’ve probably heard a lot about the importance of testing your code. Your work is the first thing users see, so even small bugs can torpedo user trust in your brand. But for developers new to working with Angular or testing with Angular, knowing how to start testing can be…

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…

End-to-end (E2E) testing helps with validating the most important flows in your application, such as user login requests. For front-end development, E2E tests help verify if the correct UI has been presented. For back-end development, E2E tests help verify if an important flow in your back-end services returns the expected output. This post will introduce…

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…

Testing is an important part of the software development process. You should test your Angular apps at various stages of development. Angular integration testing is just as important as unit testing and end-to-end (E2E) testing. Using Angular integration testing, you can test two or more units of an Angular app that work together to perform…