Learn Munit: The Complete Guide To Unit Testing In Mulesoft!
Last updated 12/2020
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.31 GB | Duration: 5h 34m
Last updated 12/2020
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.31 GB | Duration: 5h 34m
Learn to write unit tests in Mule 4 in 14 easy steps. Don't waste more time, start now making your Mule app bulletproof!
What you'll learn
Answer the question: "what is unit testing?"
Understand how unit testing can be achieved in Mule
Answer the question: "what is MUnit?"
Understand what is the main advantages of using unit testing in a Mule projects.
Learn the concepts behind unit testing: test suite vs test case!
Get familiar with the two main sub modules in MUnit: the MUnit runner and the MUnit Tools.
Exploring the lifecycle of unit testing with MUnit Before and After Scopes.
Exploring the three different scopes of a MUnit test case: understand the difference of the Behavior Scope, Execution Scope and Validation Scope.
Learn how to test runs the same tests but with different inputs with parameterization.
Learn how to validation Mule events after the production code runs.
Learn what is the concept of mocking and explore how to mock an event processor when it matches the defined name and attributes.
Learn how to inject first event messages to the mule flow being tested.
Learn how to validate if a specific processor has been called with a particular set of attributes a specific number of times.
Learn how to enable which flow sources should be loaded and executed for a specific test case.
Learn how to specify that your MUnit test case expects a particular error type or exception.
Learn how to monitor what happens before and after an event processor is called.
Learn how to use MUnit DB Server Module Utility to test a piece of code that connects with a database server.
Requirements
Basic Computer Knowledge and internet access
Want to learn more about Mulesoft
You are a Mule Developer and You want to write awesome unit tests for your Mule applications
You want to understand the best practices in writing great unit tests with MUnit
You have an attitude to learn while having fun :)
Description
This course was created with one goal only: Make yourself a better Mule developer by learning how to Write Great Mule Unit Tests with MUnit. Afterl all, Great Unit Tests distinguishes Good Mule developers from Great Mule Programmers!So, don't worry if you have no prior unit testing knowledge!Start Learning Now. Hit the Enroll Button!The main principle behind this course is to introduce all fundamental concepts about MUnit in a very detailed but easy way, so it can results in a few benefits for all students enrolled:Reduces your learning curve at maximum by going straight to the point;Clear Introduction and hands-on experience to the most popular unit testing framework in Anypoint Studio: MUnit;Gives you the skills needed to boost your unit testing skills in Mule 4; Gives you the knowledge needed to start creating your very first MUnit test case for your Mule application;In resume, it gives you all the tools to master MUnit and become a better Mule developer. But how we will accomplish that?Shortly, through a hands-on experience, we will cover in detail all the most important event processors to validate, assert, and mock the content and status of the Mule event so you can run automatic tests against your Mule applications.Basically, all fundamental unit testing concepts required for being proficient in MUnit.So, what are you waiting for?***************** Start Learning Now. Hit the Enroll Button! *****************
Overview
Section 1: Basic Concepts
Lecture 1 What is Unit Testing?
Lecture 2 Unit Testing in the context of Mule
Lecture 3 What are the main advantages of Unit Testing?
Section 2: Getting started with MUnit
Lecture 4 What is MUnit?
Lecture 5 Create GitHub repository
Section 3: MUnit: Test Suite vs Test Case
Lecture 6 Creating Mule Application
Lecture 7 Testing Mule Application
Lecture 8 Commit Project to GitHub repository
Section 4: MUnit: Before and After Scopes
Lecture 9 Creating Mule Application
Lecture 10 Testing Mule Application
Lecture 11 Commit Project to GitHub repository
Section 5: MUnit: Different Test Case Scopes
Lecture 12 Behavior Scope vs Execution Scope vs Validation Scope
Section 6: MUnit: Parameterized Test Suite
Lecture 13 Creating Mule Application
Lecture 14 Testing Mule Application
Lecture 15 Commit Project to GitHub repository
Section 7: MUnit: Validating events
Lecture 16 Creating Mule Application
Lecture 17 Testing Mule Application part1
Lecture 18 Testing Mule Application part2
Lecture 19 Testing Mule Application part3
Lecture 20 Commit Project to GitHub repository
Section 8: MUnit: Mocking processors
Lecture 21 Creating Mule Application
Lecture 22 Testing Mule Application part1
Lecture 23 Testing Mule Application part2
Lecture 24 Testing Mule Application part3
Lecture 25 Commit Project to GitHub repository
Section 9: MUnit: Injecting Mule events
Lecture 26 Creating Mule Application
Lecture 27 Testing Mule Application
Lecture 28 Commit Project to GitHub repository
Section 10: MUnit: Verify processor calls
Lecture 29 Creating Mule Application
Lecture 30 Testing Mule Application
Lecture 31 Commit Project to GitHub repository
Section 11: MUnit: Testing HTTP Flow Sources
Lecture 32 Creating Mule Application
Lecture 33 Testing Mule Application
Lecture 34 Commit Project to GitHub repository
Section 12: MUnit: Expecting errors
Lecture 35 Creating Mule Application
Lecture 36 Testing Mule Application
Lecture 37 Commit Project to GitHub repository
Section 13: MUnit: Monitor processors calling
Lecture 38 Creating Mule Application
Lecture 39 Testing Mule Application
Lecture 40 Commit Project to GitHub repository
Section 14: MUnit: Testing code that connects with a database server
Lecture 41 Install MariaDB
Lecture 42 Creating Mule Application
Lecture 43 Testing Mule Application
Students who want to learn unit testing with MUnit,Mule developers who are curious about creating and designing amazing MUnit tests.