We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realised that I left that code untested and #52 crashed everything in production.
Assuming I have simple commander like this:
defmodule FooCommander do use Drab.Commander def pres_buton(socket, _sender) do Drab.Live.poke(socket, some_variable: "new value") end end
How can I test this code? Mainly to ensure nothing is crashing there.
Thanks!
The text was updated successfully, but these errors were encountered:
I am using Hound + Chromerdriver. See tests in the drab repository.
Test helpers are in my mind, but not in the near future.
Sorry, something went wrong.
I'm looking for something close to https://hexdocs.pm/phoenix/Phoenix.ChannelTest.html
Full-on integration testing is a bit too much, I think.
This is what I meant with "test helpers". It must be done before going stable, but - sorry - not in the nearest future.
Drab tests are mostly integration, as it must cover the whole stuff (server + client)
Finally, for 1.0, it will be done with the helpers on integration tests, based on hound + chromedriver.
grych
No branches or pull requests
Realised that I left that code untested and #52 crashed everything in production.
Assuming I have simple commander like this:
How can I test this code? Mainly to ensure nothing is crashing there.
Thanks!
The text was updated successfully, but these errors were encountered: