---
title: "Introducing ngx-testing-library"
url: https://daily.dev/posts/introducing-ngx-testing-library-pmvhwmhez
source_url: https://timdeschryver.dev/blog/introducing-ngx-testing-library
type: article
source: "Tim Deschryver"
author: "Tim Deschryver"
published: 2026-05-31T07:47:18.385Z
updated: 2026-08-24T07:00:28.897Z
tags: ["testing", "typescript", "angular"]
reading_time: 3
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing ngx-testing-library

**[Tim Deschryver](https://daily.dev/sources/timdeschryver)** · [@timdeschryver](https://daily.dev/timdeschryver) · 3 min read · 0 upvotes · 0 comments

## Summary

ngx-testing-library is an Angular adapter around dom-testing-library, inspired by Kent C. Dodds' react-testing-library philosophy of testing UI components without testing implementation details. It provides a single createComponent method that sets up the Angular TestBed and exposes dom-testing-library query functions and fireEvent utilities. The goal is to write tests that mirror how users interact with the app, making tests more resilient to implementation changes. Compatible with Jasmine, Jest, or any test runner.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://timdeschryver.dev/blog/introducing-ngx-testing-library>

---

Tags: [#testing](https://daily.dev/tags/testing), [#typescript](https://daily.dev/tags/typescript), [#angular](https://daily.dev/tags/angular)

[View this post on daily.dev](https://daily.dev/posts/introducing-ngx-testing-library-pmvhwmhez)
