Exercism Exercises in Elixir
The exercises currently target Elixir >= 1.6 and Erlang/OTP >= 20. Detailed installation instructions can be found at http://elixir-lang.org/install.html.
It is recommended to test BEFORE submitting a PR. It will test your submission, ensure that the repository builds as a whole, and help guard against unintentional, unrelated changes.
To test all of the assignments against their example solution, you can run bin/test_exercises.sh
:
$ ./bin/test_exercises.sh
Testing: accumulate -- Pass
Testing: acronym -- Pass
...
Testing: zipper -- Pass
--------------------------------------------------------------------------------
93/93 tests passed.
This will take some time.
Go in the the specific exercise directory, run mix test
to test an individual assignment:
cd exercises/$EXERCISE_NAME
mix test
TravisCI is used to test the build against different environments.
TravisCI's current testing routine can be found in .travis.yml
For an in-depth discussion of how exercism language tracks and exercises work, please see CONTRIBUTING.md