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…
Tag: Test automation
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…
Many people, upon hearing “automated testing,” automatically think of unit tests. That’s understandable; after all, unit testing is one of the most well-known types of automated tests. However, it’s far from being the only one. We have UI testing, end-to-end testing, load testing, and that’s just to name a few. Today’s post—as you can see…
JBehave is a Java testing framework for Behavior-Driven Development (BDD.) It’s been around for many years with regular updates, including an update to 5.0 in 2022. But, it still doesn’t get the attention and respect it deserves. In this article, we’ll take a quick look at what BDD is and how you can use it…
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…
The software testing world sometimes includes too much confusing jargon. Many expressions sound similar but refer to different concepts. The “test strategy vs. test plan” dilemma is a good example. What is the meaning of each one of those terms? Why do you need them? How do they differ? And what are their similarities? These…
Automated testing is a must for any modern software development organization. That’s why you must know and master tools in that space if you have any hope of producing high-quality code. Fortunately, there is a huge variety of testing tools available. These tools cater to virtually every need of a comprehensive testing strategy. When it…
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…
Continuing our trend of covering testing-related topics, today, we talk about test coverage techniques. What are these techniques, and why should you be aware of them? Let’s face it: automated testing has won. Sure, manual testing still has its value and place. But having a proper automated testing strategy in place is vital for any…