Skip to content

Tests Written

Darcey Haddow requested to merge 35-Sprint-2-tests into main

Closes #35 (closed) In the last sprint two tickets (#20 (closed) and #9 (closed)) allowed for the User to Insert quotes into the database and search within the database respectively. This ticket creates tests to cover the implementation of these tickets.

Acceptance criteria:

  • A test to assert a new quote can be added to the database
  • A test to assert an author with disallowed characters is not inserted into the database
  • A test to assert an author with a - or a ' in their name can be added to the database
  • A test to assert the search accesses the database
  • A test to assert a search will return values when given a valid person name
  • A test to assert a search will return values when given a valid quote section

Merge request reports