To run all tests
mix cmd --app child_app_name mix test --color
Specific file/line
mix cmd --app child_app_name mix test test/child_app_name_nice_test.exs:69 --color
We can also define a Mix task to make our life easier!
def aliases do
[
child_test: "cmd --app child_app_name mix test --color"
]
endThen you call
mix child_test
or
mix child_test test/child_app_name_nice_test.exs:69
See more from
renews