Spring Boot Cucumber Integration Using Gradle

Cucumber Cucumber is a BDD (behavior driven development) framework for running automated acceptance or integration test cases. Cucumber framework is written in Ruby language, but it is also available in other programming language. Cucumber uses Gherkin parser but the implementation is done using the target language. Cucumber allows the execution of feature documentation written in business-facing text. Cucumber works with…

How To Write Junit Test For Spring Boot Main Class

Introduction Here I am going to show you how to write Junit test for Spring Boot main class. A class having main method in Spring boot application is called main class and the purpose of this class is to deploy the application into embedded Tomcat server without configuring deployment descriptor or generating war file for the application. This way you…

TDD – Test Driven Development

TDD or Test Driven Development is related to the test-first programming concepts of extreme programming. Test driven development where you write test before you develop a final code for your application. Life cycle of test-driven development: Write a test Run the written test Write code that corrects the failing test Clean up your code Go to step 1.