Again a post about plain text user stories
My friend Iain was busy making syntax highlighting in VIm for rSpec’s plain text user stories. I thought it would be nice to modify the Google Syntax Highlighting plugin for WordPress, so you can have nicely highlighted stories on your blog.
First install the WordPress plugin and make sure it works. After, download my modified version of this plugin.
Whenever you want to post a plain-text user story, use the pre tag with ‘code’ as name and ‘story’ as class attribute to indicate it’s a user story.
This is how it looks:
Story: Arrangement As a user I want to invite people So I have more chance of winning an arrangement Scenario: Browsing the homepage Given a clean database When the user goes to / Then the page should contain the text 'alledaagse' Scenario: Choosing an arrangement When the user chooses the godinfrankrijk arrangement Then the page should contain the text 'God in Frankrijk' And the page should contain the text 'voor te stellen' Scenario: Inviting a person Given a clean session When the user chooses the ster arrangement Then the page should contain the text 'leven als een ster' When the user types 'His Name' into the invitee_name field And the user types 'Street 13' into the invitee_address field And the user types '1234AB' into the invitee_zip field And the user types 'Rotterdam' into the invitee_city field And the user types '0101234567' into the invitee_phone field And the user clicks on the radiobutton labelled vrouw And the user clicks the submit button Then the page should contain the text 'mijn gegevens'
cest koi ste chose laa
chez meme pas quesse tu dit laa desuis ctaffaire laa
dsl mais cest ca
tk