8.18.0.13

Test Me🔗

don't

As you learned in Fundamentals 1 and 2, every basic unit of code (functions, methods) needs tests. Such tests help with removing bugs from the piece of functionality, from not re-introducing bugs, and with debugging.

You are strongly encouraged to maintain a script for our evolving project that can run all unit tests and to run these tests before you git-push.

Here are some additional hints:
  • Write it as a shell script or as a short program in your favorite language.

  • Document how to run the script in a README file.

  • It is acceptable for unit tests to fail.

  • It is not acceptable for unit testing to break the script (e.g., via “uncaught exception”).