Replies: 1 comment
-
|
There are a few issues in the configuration. I only took a quick look, but here's what I noticed:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First things first I want to point out that this is my first encounter with
Testcontainerstest writing, so I will appreciate any answers, pointing what in my test logic is bad etc. ( I want to learn how to write great tests ).Description
But going back to the point, I would like to ask you for feedback why mine
Testcontainersbased integrations tests runs well locally on my primary machine, but when runned on github action throws errors als I have issues running them on my secondary PC (that I'm using right now while writing this question).Architecture
My app architecture at this moment
Code
ApiTestBase class
I'm writting mine tests in
xUnitand I'm utilizing base classApiTestBase.cs:Now I also created 2 example test classes:
AuthControllerTests.csandChatControllerTests.csChatControllerTests
AuthControllerTests
There are more tests classes and facts but for simplicity I just providing those two
Results
Local run
Example local run result (runned from VS 2026, same result when runned from Github Actions pipeline)
Example errors
(From test preview)
(From github actions)
Pipeline
Beta Was this translation helpful? Give feedback.
All reactions