# \#tdd

**URL:** https://community.auth0.com/tag/tdd/382.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Unit tests for API service](https://community.auth0.com/t/unit-tests-for-api-service/6382)

<div class="topic-metadata">

**Author:** [@kasper](https://community.auth0.com/u/kasper)\
**Replies:** 3\
**Last updated:** [May 1, 2017, 2:55pm UTC](https://community.auth0.com/t/unit-tests-for-api-service/6382 "2017-05-01T14:55:48Z")

</div>

Hi, I’m in a situation where I want to write unit test for my API service which is consumed by a mobile app. The mobile app uses auth0 for authentication and the API right now authenticates the user using JWT. I have cr…
