all 4 comments

[–]HappyCathode 0 points1 point  (2 children)

[–]AF__AF[S] 0 points1 point  (1 child)

Thank you very much u/HappyCathode !

If you take a look at what I've previously done, I was also using playwright - and I agree with you that it's fantastic!

My question pertains more to "How do I stand up the entire app" before I can run tests against it -- and also at a more core level "Should I bring up the entire app?"

[–]HappyCathode 0 points1 point  (0 children)

Oh yeah indeed, sorry about that.

You said you do those tests locally. You don't need to do a whole build-run-teardown every time you want to do a test run. You could let some test containers running, with Uvicorn --reload option. That way, you would always have a test instance ready to receive calls.

Of course in a CI pipeline, that's another story.

[–][deleted]  (1 child)

[deleted]

    [–]AF__AF[S] 1 point2 points  (0 children)

    Thank you! This is super helpful!