Skip to content



The backend uses ExUnit.

To launch all the tests:

mix test


If you're using Docker, you can use make test

If you want test coverage:

mix coveralls.html

It will show the coverage and will output a cover/excoveralls.html file.

If you want to test a single file:

mix test test/mobilizon/actors/actors_test.exs

If you want to test a specific test, block or line:

mix test test/mobilizon/actors/actors_test.exs:85


Note: The coveralls.html command also works the same


Unit tests

We use Vue Test Utils and Jest to run unit tests.

When inside the js directory, run the tests with

yarn run test:unit

Jest set of CLI options can be used here.

Last update: April 19, 2021