elixir-wallaby / wallaby

Concurrent browser tests for your Elixir web apps.
https://twitter.com/elixir_wallaby
MIT License
1.68k stars 198 forks source link

function/module documentation with usage examples #248

Open PragTob opened 7 years ago

PragTob commented 7 years ago

The documentation for wallaby is improvable :)

Imo Browser and Query are the most important modules.

What should good documentation have imo?

Something that I find myself looking up constantly when working with wallaby is what queries like button/text_field match on e.g. id, name, text... whatever. That information would be great to have documented as I don't believe everyone enjoys reading the compiled xpath queries :D

I especially think Query needs some love:

selection_033

To see how far along we are, we have inch_ex.

We can also see, if we ant to exclude further modules and functions from the documentation.

bernardobelchior commented 7 years ago

+1

keathley commented 7 years ago

I'm not sure if I'll have time to go through and submit PRs for these but I'm available if you need to know about each query and what it will select on :+1:

PragTob commented 7 years ago

Minus the usage example a lot of this is already implemented on master :)