© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
16mo ago
•
23 replies
Jiry_XD
✅ Integration testing
I just watched this video
, and instead of seeding his database he is using a
Faker
Faker
class which generates the data
. How does this work
?
Within he is using a
CustomerRequest
CustomerRequest
is this basically his DTO object
?
Before watching his video my approach in Integration Tests was
:
Seed Database
Run Test
Clear DB
Seed DB
Run Test
.
.
.
I wanted to optimize it hence I watched his video about
Respawn
Respawn
but it doesn
't seem like he is seeding at all with the
Faker
Faker
?
How does he test get requests if there is no data inside DB
?
https://www.youtube.com/watch?v=E4TeWBFzcCw
Screenshot below this was taken at
1
:28 min into the video
YouTube
Nick Chapsas
The BEST way to reset your database for testing in .NET
Check out my courses
:
https://dometrain.com
Become a Patreon and get source code access
:
https://www.patreon.com/nickchapsas
Hello everybody I
'm Nick and in this video I will show you what I think is the best way to reset your database to a clean state
, every time you run a test
. This works great with integration testing but other forms of test
.
.
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Integration Testing
C
C# / help
4y ago
✅ Testing Guidance (Unit/Integration)
C
C# / help
4mo ago
✅ Integration testing, database transaction
C
C# / help
6mo ago
Mocking FileStream for integration testing
C
C# / help
4y ago