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…
Year: 2022
Introduction Automation is the key to improvement in software engineering, the automobile industry, and the manufacturing industry. Different programming languages and technologies enable the automation process in the software industry, and one such software package is Selenium. Selenium is an open-source framework that automates browser actions and is often used to validate web-based applications across…
We all know that unit tests must not interact with external dependencies—databases, HTTP services, the filesystem, etc. You must resort to mocking those dependencies. This presents a problem: sometimes you have to mock code you didn’t write, presented in the form of static methods. In this post, you’ll learn how to deal with this challenge…
Data obfuscation is a term that every developer should comprehend and implement into every project. Obfuscation refers to the act of making something appear different from its actual form. To a security-aware developer, the term refers to any method used when hiding the actual value of a data object. In the realm of software testing,…
Selenium is a tool that developers can use to automate the testing of web apps. With this tool, it’s possible to write test scripts that perform several actions. For example, you can use Selenium to load a webpage, click on links and buttons, or even type text into an input field. Another important action Selenium…
Selenium is a popular browser automation tool. Using Selenium, you can automate almost every action a regular user can perform on a web browser. For example, with Selenium, you can write a small script that can open a webpage and then complete a form on the page. However, to carry out an operation like this,…
Here we are again in our never-ending quest to spread the word about automated testing. Today’s topic is one we’ve already covered, but with a different spin: regression testing. What is regression testing? Well, while the previous post was mainly about definitions—and we do recommend you check it out—we’ll offer a short version here nonetheless….
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 landscape is constantly changing, and organizations require QA engineers more than ever. Systems integration testing (SIT) and user acceptance testing (UAT) are very important for testing firms as well as for organizations. However, a lot of people confuse the two. This post will help you understand both of these concepts, their differences,…
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,…