O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Taking it further

Here are a few suggestions if you feel confident enough to expand upon the minimal use case scenarios and UI we have outlined in this chapter.

  • The Gherkin feature Check available groceries also contains a scenario for when no grocery items are available (No grocery items available). In such an event, we may want our use case to return a message which indicates this fact. Try and implement the test function for this second scenario.
  • Try and refine Check available groceries by extending its requirements in terms of preconditions and/or expected outcomes. For example, we may want to display the number of available pieces for each grocery item next to the type. If this is the case, we'd also want to be able to increase/decrease ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required