There is a general misconception that behavior-driven development (BDD) is an extension of test-driven development (TDD) and that when BDD is used, the team doesn't have to use TDD and vice versa. In this article, we will be looking at how BDD and TDD can be used in an agile project, the difference between BDD … Continue reading BDD and TDD in Agile
Most of us are familiar with user stories. The structure of a user story is typically something like: As a [type of user], I want to [perform some task] so that I can [achieve some goal]. However, articulating what is required in a natural language is one of the hardest things in software development, since … Continue reading BDD instead of User Stories
Disclaimer to start with: the title of this blog is a bit of a misnomer. The reason for intentionally titling this blog incorrectly is to clarify and hopefully make readers/users understand why "BDD Unit Testing" is inherently contradictory. The term Unit Testing relates to test-driven development (TDD), which is different from behavior-driven development (BDD). Though … Continue reading BDD Unit Testing?
I have been working with Behavior Driven Development (BDD) using Cucumber for several years. I am a huge fan of BDD and the benefits it brings to a project. I wouldn't embark on a project without using BDD. The main benefits of using BDD is, it improves the collaboration between cross functional members of the … Continue reading Cucumber Vs NoCodeBDD
Using NoCodeBDD, you can easily assert values across multiple rows of a SQL result. For an example, let's look at the following table, which is a result of a SQL query. If your requirement is to select all users with Age 32 and to assert the First Name and Last Name from both rows, then … Continue reading How to Assert values from Multiple Rows from Database in BDD Automation?
This tutorial explains, how you could roll out Behavior Driven Development and automate REST APIs in minutes without writing any code using NoCodeBDD. Before diving into the topic, let's look at some of the basic concepts of REST and Behavior Driven Development. If you are familiar with REST and Behavior Driven Development, you can skip … Continue reading Automate REST API testing in minutes using BDD approach
REST uses four Authentication mechanisms and one of the popular authentication mechanisms is "Token Authentication" or "Bearer Authentication". As the name "Bearer Authentication" suggests this type of authentication gives access to the bearer of this token. The token is a cryptic number and generated by the server in response to a login request. The client … Continue reading BDD: Automating Token Based Authentication in REST API Testing
There are several online sites/tools available to find a JSON Path of a JSON Element or a Value. Finding JSON Path is extremely easy using JSONPathFinder. All you have to do is, paste the sample JSON on the left, JSONPathFinder will structure your JSON and show it on the right. Simply click the element or … Continue reading Easiest way to find JSON Path
Automating Behavior Driven Development (BDD) using NoCodeBDD is as easy as pie. Using NoCodeBDD to automate BDDs will take minutes rather than hours as there is no code involved in the automation. In this article, we will look at how NoCodeBDD can be used to call a REST API and how the response from that … Continue reading Step by Step example: BDD Automation that tests REST API without writing any code
While automating Behavior Driven Development, automating Database operations and asserting Database Results is extremely easy using NoCodeBDD. All you have to do is, define your feature file using Gherkin language, add Database Connection, provide your SQL and define the values to Assert. Let's look at how it is done step by step Feature File For … Continue reading How to test DB results without writing any code and in minutes using BDD Approach