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

Defining use cases

Two fundamental use cases that we would want to support are adding new characters to the characters list and inserting a character's name into the script:

Feature: Add character to characters list    Scenario: No characters in characters list        Given there are no characters in the characters list        When I add a character with name "X" to the characters list        Then there is a character with name "X" in the characters list
Feature: Insert character name into script    Scenario: No character names in script        Given there is at least one character with name "X" in the characters list        And there are no character names in the script        When I insert character name "X" into the script        Then a character name "X" appears in the script

Besides these, ...

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