lets-hack / hack-a-day

for our hack-a-day stuff
1 stars 0 forks source link

The first app I ever wrote: make a phrase repeat itself on the screen and fill the screen #5

Open gsharp opened 9 years ago

gsharp commented 9 years ago
Feature: Phrase Repeater
  In order to demonstrate the power of computing
  As a programmer
  I want to see a phrase repeated over and over and never stop

  Scenario: display a phrase repeatedly
    Given I have called my app with a string parameter in quotes
    When I run the application from command line
    Then it should fill the screen with the phrase passed in the parameter and not stop

  Scenario: stop the app
    Given I enter the appropriate stop signal
    When I enter the signal
    The application should stop rendering the phrase   

this feature was described using cucumber bdd language