---
schema_version: "1"
id: f39db148d1316712f9e4fbb3e014e9b98e2c19a6bc92cc5fa2e7ade66f612e7d
title: MUnit Overview
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/munit/latest/index.md
canonical_url: https://docs.mulesoft.com/munit/latest/
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 56c86dcbcbcf7ed0996ab79c2dc6ffeed06fd43342ec852262db1edf7f4d808b
description: MuleSoft Documentation Site
release: "3.7"
latest: true
---
---
product: MUnit
version: 3.7
is-latest-version: true
---

# MUnit Overview

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Build automated tests for your integrations and APIs with MUnit. MUnit is a Mule application testing
framework that provides a full suite of integration and unit test capabilities, and is fully
integrated with Maven and Surefire for integration with your continuous deployment environment.

MUnit version 3.0 and later works with all Mule versions since 4.3.

With MUnit you can:

- Create your test by writing Mule code

- Mock processors

- Spy any processor

- Verify processor calls

- Enable or ignore particular tests

- Tag tests

- Generate coverage reports

You can create, design, and run MUnit tests in Anypoint Studio and Anypoint Code Builder.

MUnit has two main sub modules:

- MUnit

- MUnit Tools

Each module has its dependency:

## MUnit Dependencies

```xml
<dependency>
	<groupId>com.mulesoft.munit</groupId>
	<artifactId>munit-runner</artifactId>
	<version>LATEST_VERSION</version> (1)
	<classifier>mule-plugin</classifier>
	<scope>test</scope>
</dependency>
```

<table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td>Check the <a href="https://docs.mulesoft.com/munit/latest/munit-release-notes">MUnit Release Notes</a> to get the <strong>LATEST_VERSION</strong>.</td></tr></tbody></table>

## MUnit Tools Dependencies

```xml
<dependency>
	<groupId>com.mulesoft.munit</groupId>
	<artifactId>munit-tools</artifactId>
	<version>LATEST_VERSION</version> (1)
	<classifier>mule-plugin</classifier>
	<scope>test</scope>
</dependency>
```

<table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td>Check the <a href="https://docs.mulesoft.com/munit/latest/munit-release-notes">MUnit Release Notes</a> to get the <strong>LATEST_VERSION</strong>.</td></tr></tbody></table>

## See Also

- [MUnit Test Structure Fundamentals](https://docs.mulesoft.com/munit/latest/munit-test-concept)

- [MUnit Cookbook](https://docs.mulesoft.com/munit/latest/munit-cookbook)

- [Testing Projects with MUnit in Studio](https://docs.mulesoft.com/studio/test-with-munit-in-studio)

- [Testing Projects with MUnit in Anypoint Code Builder](https://docs.mulesoft.com/anypoint-code-builder/int-test-munit)
