Our premier event for enterprise software quality is back | Register now

Tag: Testim

Mocha is a robust JavaScript test framework that has gained popularity among developers and companies. It’s an extensive test framework that can be utilized to perform both unit tests and functional tests. However, setting up and configuring Mocha can be a bit tricky.  This blog post provides a comprehensive guide on Mocharc – that will…

Sometimes, while writing tests with tools like Mocha, you may want to perform certain operations before the tests. These operations might include the initial setup of global services or resources and configuration for the tests. Mocha’s beforeEach method makes these test setups easier and reduces code duplication. Mocha has several hooks, including before, after, beforeEach,…

After creating a React app, testing and understanding why your tests fail are vital. When debugging, you’re trying to identify and solve the error. When a test fails, it tells you what has gone wrong and why—in short, testing and debugging work in tandem. Debugging is the process of finding and fixing bugs. As a…

Pytest has a number of great features. One of those special features is fixtures. Using pytest fixtures to test your application is one way you can exponentially increase code quality. Higher-quality code, plus more readable documentation, leads to a massive reduction in the cost of resources for our applications. Pytest is one of the most…

Getting started with unit testing can seem like a daunting task. There’s plenty to learn, such as what unit testing is in the first place and why it’s valuable, what the best practices are when writing tests, and which tools to choose. We’ve already published a post covering the unit test frameworks for JavaScript; now,…

Web application testing is important for any business to maintain the quality of the website—it helps validate the various functionalities. As web applications and their use cases grow larger, the cost of manually testing for new feature functionality and regressions can spiral out of control. Automating common use cases is required to ensure test coverage…

Here’s something you probably didn’t anticipate when joining software development as a younger software engineer: the amount of testing you’d be involved with. There are so many types of software testing that often just trying to keep up leaves you overwhelmed! Lucky for you, we’re here to help, covering automated cross-browser testing in this post….

When it comes to front-end development, understanding the DOM is crucial. However, this topic can be pretty confusing for beginners, especially due to the complicated lexicon. “Shadow DOM vs. virtual DOM,” for instance, is quite a common confusion among developers, especially junior ones. In short, the shadow DOM is a browser technology whose main objective…

Software developers need faster feedback to fix bugs when they are less expensive to correct. One strategy for providing earlier feedback is to shift testing earlier in the process (shift-left). Teams can detect and fix bugs with the least impact by running unit, integration, and E2E UI tests as early as possible. There’s a second way…

Older web applications were simple. They were static and included a couple of headings and paragraphs. But as web applications progressed, it became a different game altogether. As web applications get upgraded with new features, they become more complex. Modern web applications contain different kinds of elements and functions. And whether you want to test…