In the following post, I wanna share with you a simple solution that will cover all your needs in the process of testing a microservice on the component level or in an isolated environment, where you as a tester will have access only to the API level. Used tech stack We will use the following…
Tag: Cucumber
How to add log messages to the cucumber Jenkins report
Adding log messages to the automated report it’s an important feature, that helps in analyzing and identifying the failing issues. In this post, we are going to help you to add log messages to the cucumber Jenkins report. As you may know by default pretty cucumber reports don’t save log messages in the cucumber.json file…
How to send different values in cucumber features based on profile
First of all, I want to mention that this post continues the previous one where we have added AOP to execute some additional logic on cucumber steps. My recommendation will be to read mentioned post. Let’s start… About Spring Profile From official documentation a profile has the following role:Spring Profiles provide a way to segregate…
How to log execution time for cucumber steps
Hi folks , this post is more a continuation of Cucumber 6 Spring Integration, in case you didn’t read Cucumber integration post, please do for better understanding. In this post we will extend the existing project by adding a useful functional of logging execution time for every cucumber step, without adding making any changes in…
Cucumber 6 Spring Integration
Cucumber is a very powerful testing framework, which follows the BDD (behavior-driven development) methodology. It enables developers to write high-level use cases in plain text that can be verified by non-technical stakeholders, and turn them into executable tests, written in a language called Gherkin. Cucumber 6 Spring Integration is intended to make test automation easier. Once…
Generic Scenario Context for Cucumber
How to Share Test Context between Cucumber Steps, in this post we will explain it and share our implementation Scenario Context class holds the test data information explicitly. It helps you store values in a key-value pair between the steps. Moreover, it helps in organizing step definitions better rather than using private variables in step definition classes….
Introduction in Cucumber with examples
1. Introduction Cucumber is a BDD (Behavioral Driven Development) testing framework. Using the framework to write repetitive scenarios with different permutations of inputs/outputs can be quite time-consuming, difficult to maintain and of course frustrating. Cucumber came with a solution for reducing this effort by using the concept of Scenario Outline coupled with Examples. In the…
Reflection for hybrid testing framework with cucumber
After a couple of time I manage to create a Selenium hybrid testing framework base on java reflection functional. In this post I will explain the base principles of this framework and all pluses and minuses. Let’s begin in our journey. Based on my experience a good testing framework base on UI functional testing an…
Integrate cucumber with spring
1. Overview This is a quick guide to integrate the Cucumber testing framework with Spring. Cucumber is a very powerful testing framework written in the Ruby programming language, which follows the BDD (behavior-driven development) methodology. Its intent is to enable developers to write high-level use cases in plain text that can be verified by non-technical stakeholders, and turn…
Integrate Cucumber framework with QMetry
Integrate Cucumber framework with QMetry Introduction Cucumber is one of the tools for running automated tests. It combines business specification and test documentation into one – which results into executable specification. Due to this collaboration, it encourages teams to keep their organization’s business goals in center. Automated testing through Cucumber helps teams avoid heavy regressions…