mix phx.new --database sqlite3 --live throwaway
cd throwaway
# create some entity in the db with associates liveviews
mix phx.gen.live Things Thing thing thingvalue:integer thingdescription:string
# copy routes into router.ex
mix test
The generated tests fail. I do not know how to debug them, as I have not touched the code at all after generating it.
I have tried the following:
The generated tests fail. I do not know how to debug them, as I have not touched the code at all after generating it.
This forum thread explores the issue: https://elixirforum.com/t/sqlite3-workaround-for-the-testing-sandbox/58915/6 I may have misunderstood the documented issue with the Ecto sandbox, seeing as the tests are apparently not generated async.
I do not know if this issue is filed in the correct place, but apparently other database adapters are having the same issue.
Thanks for reading!