Contact Us 1-800-596-4880

Scaffold a Template for an MUnit Test from an API Specification

You can use APIKit to automatically generate an empty structure for an MUnit test suite based on your API specification.

Because your Mule project is generated using APIKit, you can use APIKit to automatically scaffold an empty MUnit test suite, based on the endpoints described in your API specification. Scaffolding does not generate the test itself, but generates a tool to help you start writing the test.

To create this empty test suite:

  1. Locate and right-click the APIKit router in your project.

  2. Select Create Test Suite for Project From API Specification.