Skip to content

YourBotIs/yourbot

Repository files navigation

YourBot

Web Application for building and hosting Discord bots.

Get Involved

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

Development

Testing

Wallaby Tests

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

Test Coverage

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