Mix 1.8.1 (compiled with Erlang/OTP 21)
I made an phoenix app (frontend) as the (View Controller) and separate another phoenix app that only has API (Model).
Any recommendation how to test a phoenix controller on rendering and redirections?
When you say separate, how separate? Are they both part of the same umbrella project or are you making these requests over HTTP?
Hello thank you for the response, I’m making requests over HTTP, Frontend(phoenix repo) then calling API(another phoenix repo)
If you’re doing it over HTTP the thing you’re going to lose vs doing it all in one application is the out of the box per test case database isolation. However if you port https://dockyard.com/blog/2017/11/15/how-to-add-concurrent-transactional-end-to-end-tests-in-a-phoenix-powered-ember-app you’ll get that too.