Web Application for building and hosting Discord bots.
This is a early days project pushed forwared by a couple developers for fun. If you are interested in helping out or just bugging us, check out our Discord Server
- Install Erlang and Elixir via asdf-vm
- Follow the Phoenix installation guide guide
- Install google chrome driver for your host OS
- Install minio
Most of the tests as of right now are written via wallaby.
It uses chromedriver
and your browser. If you wish to Skip the wallaby tests, you can run with
--exclude wallaby
with your test suite. For example:
mix test --exclude wallaby
If a wallaby feature test is failing, there will be a screenshot of the browser placed in the screenshots
folder. If you need more info about a failing test, you can run the test with the SHOW_BROWSER
variable set.
For example:
SHOW_BROWSER=1 mix test test/fw_pizza_web/features/devices_live_test.exs
To get code coverage stats, the project use excoveralls. To collect the coverage report, run:
mix coveralls
To get something a little nicer to view, use:
mix coveralls.html
firefox cover/excoveralls.html