Skip to content

Your Turn

New Tests

In order to build some stability around this new feature we'll consider two scenarios:

  • Happy path: Article titles returned from news service are valid strings
  • Sad path: We get some malformed data from the news service

Our code needs to handle both of these scenarios, so make sure that it's codified in our repo!

Your Turn!

Add two new test cases to our ModelApp to handle the above conditions. Feel free to use the following links for help!