See Testim Copilot in action | Join us

Tag: javascript testing

Testing applications seems easy…until the project gets bigger, and you need complete system testing along with unit and integration testing. But what happens when software testing is primarily data-driven and a chunk of test data doesn’t work? In that case, you need a large amount of mock data to test the system thoroughly. So, to…

The tech industry is currently more competitive than ever. In order to stay competitive, software organizations had to evolve. They had to adopt tools and techniques that allow them to move fast while keeping quality high. In short, that’s what the DevOps movement is all about: bridging the lines between development and operations, leveraging automation…

Without JavaScript, your page is nothing more than a boring, lifeless static document.  With JavaScript, you can create user interfaces that react to the user actions, bringing movement and interaction, which creates a richer user experience. Thus, we can consider JavaScript to be the soul of a website. If JavaScript is so important, you should…

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…

No code is perfect, and nobody writes the perfect code. That’s why I’m writing this post. If everyone wrote absolutely perfect code all the time, there wouldn’t be a need for this post. So how do we improve the quality of our code? One approach is to refactor the code. But what exactly is JavaScript…

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…

You’ve been going along writing your Angular application, and you’ve now reached a point where you have enough code in your application for things to get complicated. You may even have a few tests here and there to validate things are working. Now you want to focus your efforts on tests that will give back…

The Testim blog has been publishing a lot of posts about JavaScript testing related concepts and tools. We’ve covered Jest testing, Cucumber.js, and load testing with Artillery, among many other topics. Today, we carry on with the trend by covering yet another JavaScript testing-related tool: Sinon JS. Sinon JS is a popular JavaScript library that…

Let’s get started with React Native unit testing! A React Native unit is the smallest testable part of a Reactive Native app. What is considered to be the smallest testable part is debatable, and what should be tested is a personal preference, depending on the project. You can perform React Native unit testing on an…