---
title: "Discussion on \"Integration testing Remix apps with Vitest, Typescript & Docker\" | Hashnode"
description: "Discussion on \"Integration testing Remix apps with Vitest, Typescript & Docker\". Master integration testing for Remix apps using Vitest, TypeScript, Docker, and real databases, with adaptable techniques for any JS app like Next.js"
url: "https://hashnode.com/posts/integration-testing-remix-apps-with-vitest-typescript-docker/653930bcc376cf0d7dac5cfe"
---

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

Discussion

# [Integration testing Remix apps with Vitest, Typescript & Docker](https://alemtuzlak.hashnode.dev/integration-testing-remix-apps-with-vitest-typescript-docker?utm_source=hashnode&utm_medium=feed)

Master integration testing for Remix apps using Vitest, TypeScript, Docker, and real databases, with adaptable techniques for any JS app like Next.js

Oct 25, 2023 · 11 min read · alemtuzlak.hashnode.dev  
Updated Oct 27, 2023  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#remix](https://hashnode.com/tag/remix)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Alem Tuzlak](https://hashnode.com/@Alle00)

@Alle00 · Sarajevo, Bosnia and Herzegovi

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

Making your http://Remix.run experience more enjoyable. Creator of Remix Forge &amp; remix-hook-form &amp; remix-development-tools. OSS contributor and enthusiast.

## Responses 1

Markdown supported · ⌘↵ to post

[DJ Scruggs](https://hashnode.com/@djscruggs)

[Dec 10, 2024](https://hashnode.com/posts/integration-testing-remix-apps-with-vitest-typescript-docker/653930bcc376cf0d7dac5cfe/comment/67587777d483b0279390c873)

I was getting an error finding DATABASE\_URL. I was able to fix by changing pretest:i in package.json to:

npm run db:up && dotenv -e .env.test -- npx prisma migrate deploy

Requires installing dotenv with npm i dotenv

[Almina Brulic](https://hashnode.com/@abrulic)

[Nov 1, 2023](https://hashnode.com/posts/integration-testing-remix-apps-with-vitest-typescript-docker/653930bcc376cf0d7dac5cfe/comment/6542a9c73be149affc02e3a1)

Very nicely explained, thanks!

[Alem Tuzlak](https://hashnode.com/@Alle00)

[Nov 1, 2023](https://hashnode.com/posts/integration-testing-remix-apps-with-vitest-typescript-docker/653930bcc376cf0d7dac5cfe/comment/6542a9c73be149affc02e3a1#reply-6542c1643be149affc02e510)

Happy to help!
