TBD - Repo containing specs and integrations tests
# If there is already some elixir-omg docker running, this can make sure it is cleaned up
make clean
# Start the elixir-omg services (childchain, watcher and watcher_info) as background services
# Run all the tests
make test
# To run a specific test, see the <test_file_name> in apps/itest/test/
mix test test/itest/<test_file_name>.exs
If you made a change in repo that requires e2e test (elixir-omg
is used as an example here):
- Code the test and open PR in
specs
repo. - Edit
.gitmodules
to change thespecs
repo inelixir-omg
to point to yourspecs
PR branch. - Before you merge
elixir-omg
PR, change thespecs
repo back to master. - Merge the PR in
specs
repo.