✅ Relation Does not Exist when running Tests
Hi, trusting y'all are well. So I am runnin into this issue where my XUnit tests using a Postgres Test Container fail with the error message . I have an extension method that should run the migrations when the container starts. I'd appreciate your aid, thanks!

5 Replies
What does the migration code look like
Is it properly executing in some kind of startup hook?
I have an extension method for it:
Then added it to Program.cs
Did you already debug through whether that code is executed in your tests? Or are they built against Release, so they'd skip the development condition?
My bad, just noticed I had forgotten to run the migration.
I thought so 😄