---
title: "Discussion on \"How to test a Fastify application\" | Hashnode"
description: "Discussion on \"How to test a Fastify application\". Learn how to implement tests on a nodejs application within fastify and tap. Read from the local db and assert all your conditions"
url: "https://hashnode.com/posts/how-to-test-a-fastify-application/618c1c47f991b025366e19ed"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to test a Fastify application](https://backend.cafe/how-to-test-a-fastify-application?utm_source=hashnode&utm_medium=feed)

Learn how to implement tests on a nodejs application within fastify and tap. Read from the local db and assert all your conditions

Nov 10, 2021 · 7 min read · backend.cafe  
Updated Oct 6, 2022  
Read the article

-   [#backend](https://hashnode.com/tag/backend)
-   [#testing](https://hashnode.com/tag/testing)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#crud](https://hashnode.com/tag/crud)

## Written by

[Manuel Spigolon](https://hashnode.com/@Eomm)

@Eomm · Italy

  
[View profile](https://hashnode.com/@Eomm)

Developer

I'm Manuel and I work at NearForm as a Full Remote Software Developer from 🇮🇹 Italy. I'm one of the Fastify maintainers since 2019. Contributing to Open Source Software teaches me something new every day. You should join this extraordinary world.

## Responses 1

Markdown supported · ⌘↵ to post

[Akash Kharat](https://hashnode.com/@a2k)

[Jan 17, 2023](https://hashnode.com/posts/how-to-test-a-fastify-application/618c1c47f991b025366e19ed/comment/63c657b23fbd9f5a3338d3ad)

How can i mock modules, node-tap documentations are not as useful??
