edurange / edurange-server

cloud-based interactive security exercises
https://www.edurange.org
MIT License
14 stars 14 forks source link

Fix EDURange unit tests #59

Closed newjam closed 5 years ago

newjam commented 5 years ago

Currently many of the unit tests are not in a running state. We need unit tests that run without error, run quickly, and test a decent amount of the codebase.

newjam commented 5 years ago

Fixed by @quin2 + @newjam over many commits: https://github.com/edurange/edurange-server/commit/2d85b8f638131616542900797b4351b5a257a8d7, https://github.com/edurange/edurange-server/commit/454b8fa07b0a0db994ae196d7257f99e3f4e6a51, https://github.com/edurange/edurange-server/commit/58b727b51ada3d9106afa4f6d6692585913c0a60, https://github.com/edurange/edurange-server/commit/856c70e177ce984a3aad6053ff42a0ca300c460e, https://github.com/edurange/edurange-server/commit/8e05a69889e05c9072262d0a4e04e995acdd5100, https://github.com/edurange/edurange-server/commit/0c16695aea09ebcb4806e54afcb9947b9f7f97e9, https://github.com/edurange/edurange-server/commit/938fe6141ad6ce212296a49647b427e1c87863ad

We could still have more test coverage, but at least rake test doesn't immediately fail.