By: julia on Abel Soares Siqueira
Re-posted from: https://abelsiqueira.com/blog/2016-02-21-automated-testing/
We’re gonna learn how to make a test for your Julia code that runs whenever you
publish it online. We’re gonna use
- GitHub to store the code;
- Travis CI to run your tests;
- Coveralls.io to verify which lines of code your test are missing.
Alternatively, for a open source alternative, see GitLab,
which I don’t know enough yet.
Let’s make a litte code to solve a linear system, paying attention to the
problems it may arise, like incorrect dimensions, underdetermined and
overdetermined systems, singular matrices, etc.
And we’ll be using the factorizations, but not \
.