# Dani Hodovic - Unit Testing Cloudflare Workers (Highlights)

## Metadata
**Cover**:: https://readwise-assets.s3.amazonaws.com/static/images/article3.5c705a01b476.png
**Source**:: #from/readwise
**Zettel**:: #zettel/fleeting
**Status**:: #x
**Authors**:: [[Dani Hodovic]]
**Full Title**:: Unit Testing Cloudflare Workers
**Category**:: #articles #readwise/articles
**Category Icon**:: 📰
**URL**:: [findwork.dev](https://findwork.dev/blog/testing-cloudflare-workers/)
**Host**:: [[findwork.dev]]
**Highlighted**:: [[2022-04-30]]
**Created**:: [[2022-09-26]]
## Highlights
- The engineering team at Dollar Shave Club developed the Cloudworker project to provide a development and testing platform for Cloudflare workers. It's a simulated execution environment, very similar to the environment Cloudflare uses in production. ([View Highlight](https://instapaper.com/read/1501525026/19435744))
- It's also possible to use github.com/nock/nock to simplify the creation of the testing server. ([View Highlight](https://instapaper.com/read/1501525026/19435844))