Develop Micro-Services API via Test Driven Development
4.1 (14 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
84 students enrolled

Develop Micro-Services API via Test Driven Development

Hands on TDD - engage & deliver quality production code; Go Full Stack
4.1 (14 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
84 students enrolled
Last updated 4/2019
English
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3.5 hours on-demand video
  • 2 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Test Driven Development way of writing Micro-Services. The complete journey of Acceptance test, Integration test, unit test has been demonstrated, which would help you to master Test driven development (TDD).
  • This course lay emphasis on Designing and coding the medium to complex story in working micro-service APIs via TDD & BDD as well as advance concepts to design a test for mocking API call with Junit, wire-mock, MockBean and MockMvc. The concept and use of Swagger file in developing the app.
  • The bonus lecture on how to create rest-assured based AUTOMATED TESTING TO TEST Micro-service API as user.
Course content
Expand all 23 lectures 03:29:27
+ Introduction
1 lecture 04:57

Overall scene setting about the course delivery method and content at glance. Overview of technology stack, one will learn though out this course.

Preview 04:57
+ What & why MicroService?
1 lecture 02:01

What is Micro-Service and Information Technology industry trend about it.

Preview 02:01
+ Problem Statement or story about application.
1 lecture 03:49

Understanding the use-case/story/problem-statement about the application , we are going to develop via Test Driven Development and Design by Test approach.

It is medium to complex story, if you are familiar with scrum.

Preview 03:49
+ Pre-requirement
1 lecture 07:32

Your machine (laptop/Desktop) requirement , environment setup and general development environment setup tips. This is important to for practical coding activities.

Download the skeleton project provided and get started!

Pre-requirement or machine/environment setup
07:32
+ Key Coding Activity
1 lecture 03:43

Overview of coding activities, we are about to begin to develop Rating Control Service App via TDD and DBT (Design By Test) approach.


You can get hold of ebook shown in course by following the link under resources.

About the coding activity - Hands on
03:43
+ Contract First : Swagger
1 lecture 08:08

Swagger is an open-source software framework backed by a large ecosystem of tools that helps developers design, build, document, and consume RESTful Web services.

While most users identify Swagger by the Swagger UI tool, the Swagger toolset includes support for automated documentation, code generation, and test-case generation.

Creation of Swagger File and Code Generation via maven plugins
08:08
+ Behavioural Driven Development
1 lecture 14:48

Behavioural Driven Development (BDD) is a software development approach that has evolved from TDD (Test Driven Development). It differs by being written in a shared language, which improves communication between tech and non-tech teams and stakeholders.

In both development approaches, tests are written ahead of the code, but in BDD, tests are more user-focused and based on the system’s behavior.


Acceptance Criteria - Cucumber feature file
14:48
+ BDD - Glue and Step Definitions
1 lecture 11:49

A Step Definition is a Java method with an expression that links it to one or more Gherkin steps. When Cucumber executes a Gherkin step in a scenario, it will look for a matching step definition to execute.

Cucumber Step Definitions glue creation
11:49
+ Rest Controller Integration Test - Part 1
1 lecture 10:54

Learn to use Spring MockMVC to perform integration testing of Spring webmvc controllers. MockMVC class is part of Spring MVC test framework which helps in testing the controllers explicitly starting a Servlet container.

MockMvc and Edge Cases of RestController
10:54
+ Rest Controller Integration Test - Part 2
1 lecture 09:35

Learn to use Spring MockMVC to perform integration testing of Spring webmvc controllers. MockMVC class is part of Spring MVC test framework which helps in testing the controllers explicitly starting a Servlet container.

RestController Acceptance Criteria
09:35
Requirements
  • Basics knowledge of java is added advantage but not the requirement to understand the TDD or Design by Test concepts.
Description

Micro-Service API development via Test Driven Development (TDD) or Design By Test (DBT) course focuses on how to write production code for Micro service APIs in spring boot. This course lay emphasis on Designing and coding the medium to complex story in working micro-service APIs via TDD & BDD as well as advance concepts to design a test for mocking API call with Junit, wire-mock and MockMvc.

The basics knowledge of java is added advantage but not the requirement to understand the Design by Test concepts.

The flow of the course takes you with ease to demonstrate and make you understand about the beauty of how test dictates the production code.

The complete journey of Acceptance test, Integration test, unit test has been demonstrated, which would help you to master TDD.

The bonus session on how to create AUTOMATED TESTING TO TEST Micro-service API as user via REST-ASSURED.

Who this course is for:
  • Freshers or experienced Software Developer.
  • Working Java professionals who want to acquire TDD skills.
  • Java beginners who are curious about TDD and BDD way of writing quality software.