Testing With Scala: Library Landscape

If you are confused by the variety of test libraries in the Scala ecosystem like me, then this is the article for you.

In this article, I'd like to do a quick tour of Scala frameworks and libs and show the capabilities of each of them on the same example to compare their approaches and how the final test will look at a very high level.

Exclude Flows and Files From MUnit Test Coverage

1. Overview

In this article, we will discuss how to exclude flows and files in MUnit test. This is useful when you want to exclude unnecessary flows/files from MUnit test coverage. We also demonstrate how to run specific MUnit file or flow.

2. What Is MUnit?

MUnit is a Mule application testing framework which allows you to build automated tests for your Mule integrations and API’s. With MUnit you can mock, spy, tag processors. We will learn about these MUnit tools in next articles.

Mule 4 MUnit multipart/form-data Payload

The following article gives an example of posting a multipart/form-data payload in MUnit. 

  • Mule version: 4.2.2
  • MUnit version: 2.2.2

This article assumes that you have already built a RAML and have a POST method accepting multipart/form-data content and asserting it can be done as per your requirements.

MUnit Testing With Mule 4

MUnit is a Mule Application Testing Framework that allows you to easily build automated tests for your Integration and APIs. It provides a full suite of integration and unit test capabilities, and it is fully integrated with Maven.

MUnit is fully integrated with Anypoint Studio and allows you to create, design, and test your MUnit tests just like you would Mule Applications.