Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 708 Bytes

File metadata and controls

24 lines (20 loc) · 708 Bytes

Basic Expectation Library

You can watch my lecture given on 6/16

Why do we test?

  • reveals intention
  • our code works as intended
  • code confidence to add/remove/modify features
  • easier bug fixes with regression testing
  • drives good design

Why do we automate testing?

  • separation of concerns
  • faster feedback loop
  • we can iterate faster
  • a great documentation

Features

  • user can create a todo list with a name
  • todo list starts with an empty task list
  • user can add tasks to a todo list
    • if task is a string, add the task and return true
    • if task is not a string, don't add the task and return false
  • user can see a list of tasks