Unit Testing in MuleSoft


Course Number: MULE-114
Duration: 2 days (13 hours)
Format: Live, hands-on

MuleSoft Unit Testing Training Overview

This Unit Testing in Mule training course teaches attendees how to create, design, and run automated tests for Mule applications. Students use the Anypoint Studio tool to write Mule code, minimize manual testing, mock and spy processors, verify processor calls, and generate coverage reports.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Explain the components of MUnit and the MUnit Tools
  • Define MUnit test scopes and processors
  • Create an MUnit test from a Mule flow
  • Create an MUnit test from a blank test
  • Create an MUnit test using the Test Recorder component
  • Run an MUnit test or suite
  • Ignore an MUnit test or suite
  • Understand MUnit failures and test coverage results

Prerequisites

Students must be proficient in Anypoint Studio and Anypoint Platform. Some experience in creating unit testing is helpful but not required.

Outline

Expand All | Collapse All

MUnit Introduction and Processors
  • MUnit Modules
  • MUnit Scopes
  • Database Utils
  • FTP Utils
  • Processors – MockWhen, ThenReturn, AssertThat, AssertWhen
  • Spy, Validate
MUnit Test from a Flow
  • Use Case 1
  • Create an MUnit Test from a Mule Flow
  • Run MUnit Test
  • Run MUnit Suite
  • Test Results Analysis
  • Coverage Report
  • Review Logs
  • MUnit Errors
MUnit Blank Test
  • Use Case 2
  • Create an MUnit Test from Blank Test
  • Run MUnit Test
  • Run MUnit Suite
  • Test Results Analysis
  • Coverage Report
  • Review Logs
  • MUnit Errors
MUnit Recorder
  • Use Case 3
  • Create an MUnit Test from Blank Test
  • Run MUnit Test
  • Run MUnit Suite
  • Test Results Analysis
CI/CD Pipeline
  • MUnit Tests in CI/CD Pipeline
  • Test Report Percentage Settings
  • Failed Deployments
Conclusion

Training Materials

All students receive comprehensive courseware.

Software Requirements

Students will not need to install any software on their computers for this class. The class will be conducted in a remote environment. Students need a local computer with a web browser (preferably Chrome), stable internet, two monitors, and a headset/microphone.



Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan