# Database testing with fixtures and seeding

DevFeed: [Database testing with fixtures and seeding](<https://devfeed.tech/articles/database-testing-with-fixtures-and-seeding-5174.md>)

Original publisher: [Read original article](<https://neon.com/blog/database-testing-with-fixtures-and-seeding>)

Author: Rishi Raj Jain

Published: 2024-07-02T15:57:39Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [product](<https://devfeed.tech/tags/product.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

A tutorial on database testing with fixtures and static seed data to make tests predictable and repeatable.

## Source excerpt

To test a new database, you need data, and not just any data. You need consistent, reliable data that behaves the same way every time you run your tests. Otherwise, how can you trust that your database and code is working correctly? This is where the twin concepts of seeding and...