dondi/quo

Transition to test-driven development

Opened this issue · 0 comments

The Quo codebase does not currently have a unit test suite. It should have one.

Tests to cover include:

  • Database tests
  • Service tests
  • Authentication tests
  • Status function tests (e.g., Does removeHash really removeHash? Does truncateTo140 really do that, with ellipses at the end to indicate truncation?)

For database tests and possibly the other types as well, a database test fixture would need to be developed.

Status function tests are probably the most straightforward ones to develop at this stage.