dwyl / learn-phoenix

:fire: Phoenix is the web framework without compromise on speed, reliability or maintainability! Don't settle for less. :rocket:
649 stars 45 forks source link

Wallaby for UI Tests? #149

Open nelsonic opened 2 years ago

nelsonic commented 2 years ago

We used Wallaby on a previous client (Elixir/Phoenix) project and it was OK... We stopped using it because our use-case didn't justify the extra overhead.

But on a recent project it was proposed as the testing tool. So I'm considering revisiting it.

Not impressed by the fact that, at the time of writing it has "CI Failing" and only 42% coverage ... https://github.com/elixir-wallaby/wallaby

image

Seems like a testing tool of all things could get coverage up to 100% the way we do for all our projects. 💭 But on the basis that enough people are using it ... we can hopefully assume that it's reliable.

Todo

nelsonic commented 2 years ago

Relevant reading: https://www.wyeworks.com/blog/2022/04/21/adding-e2e-tests-to-an-elixir-library/