© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#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
image.png
YouTubeNick 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...
The BEST way to reset your database for testing in .NET
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Integration Testing
C#CC# / help
4y ago
✅ Testing Guidance (Unit/Integration)
C#CC# / help
4mo ago
✅ Integration testing, database transaction
C#CC# / help
6mo ago
Mocking FileStream for integration testing
C#CC# / help
4y ago