# Unit Test All functions in Auth0 Action

**URL:** <https://community.auth0.com/t/unit-test-all-functions-in-auth0-action/140124>\
**Category:** Get Help\
**Tags:** actions-management-api, management-api\
**Created:** [July 31, 2024, 2:38am UTC](https://community.auth0.com/t/unit-test-all-functions-in-auth0-action/140124 "2024-07-31T02:38:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [November 19, 2024, 3:03pm UTC](https://community.auth0.com/t/unit-test-all-functions-in-auth0-action/140124/4 "2024-11-19T15:03:54Z")

</div>

Hi team,

In terms of unit testing the tenant, our recommended way of doing so is by cloning the action code to your environment for mocking and testing purposes. Here you can read more about that → [Test Actions](https://auth0.com/docs/customize/actions/test-actions#unit-test-actions)

Apart from that, one community member released the library for building and testing actions. [Unit testing and developing Actions locally](https://community.auth0.com/t/unit-testing-and-developing-actions-locally/134307)

_ **Please keep in mind that this library was not built by Auth0 by Okta.** _

Thanks  
Dawid

---

_[View the full topic](https://community.auth0.com/t/unit-test-all-functions-in-auth0-action/140124)._
