Beyond cucumber srug_20110219

Preview:

Citation preview

BEYOND CUCUMBER

michał czyż @cs3b

?

Feature: posting expert reviewsIn order to promote great products as ClinicianI want to be able to rate hearing aidBackground: i'm on product pageScenario: posting hearing aid review

Scenario: updating reviewas

Background: i'm on product pageGiven i'm logged in as user oneAnd I open product "Siemens Phoenix 103 BTE" page Scenario: posting hearing aid reviewWhen I follow 'Add Review'And I fill in title with 'This is Great Product'And I fill in description with 5 paragraphs of textAnd I rate product as 5 And I press 'Save & Close'Then I should be on product pageAnd I should see 'This is Great Product' within ReviewAnd I should see product rating 5

but

Background: i'm on product pageGiven i'm logged in as user oneAnd I open product "Siemens Phoenix 103 BTE" page Scenario: posting hearing aid reviewWhen I follow 'Add Review'And I fill in title with 'This is Great Product'And I fill in description with 5 paragraphs of textAnd I rate product as 5 And I press 'Save & Close'Then I should be on product pageAnd I should see 'This is Great Product' within Review And I should see product rating 5When I open home pageThen should see product 'Siemens Phoenix 103 BTE' on 'top hearing aids' widgetWhen I open product listing And I navigate to Siemens Phoenix typesAnd I sort by date descendingThen I should see 'This is Great Product' as firstWhen I go to product listing And I fill in search 'Siemens phoenix 103 BTE'And I press 'Search'Then i should see rating 5 within 'Siemens Phoennix 103 BTE'

Side Effect

or (maybe) better name

Scenario Impact

Background: i'm on product page...

Scenario: posting hearing aid review...

Side Effect: product appear on top rated products widget...

Side Effect: product have expert rating on product listing...

Side Effect: review is accessible from reviews listing...

scenario focus

only on direct user experience

test execution optimization

prevent lossing of user behaviour impact impactimpact

using

Tags and

cucumber.fm

@mc @bk @rj @mw

@m1 @m101 @i1 @2

@_spec @_todo @_qa

@__home_page::top_products

@__hearing_care__product_page::expert_reviewScenario: posting hearing aid review

@__home_page::top_rated_productsSide Effect: product appear on top rated products widget

@__hearing_care__products_listing::itemSide Effect: product have expert rating on product listing

@__hearing_care__product_reviews_listing::itemSide Effect: review is accessible from reviews listing

connecting functionalities

with wireframes

browsing (functionalities)

documentation by

places

?

http://www.flickr.com/photos/theilr/356649300/sizes/o/in/photostream/http://www.flickr.com/photos/retinafunk/71211167/sizes/o/in/photostream/http://www.flickr.com/photos/wwworks/3800306463/sizes/l/in/photostream/http://www.flickr.com/photos/evaekeblad/5455349874/sizes/l/in/photostream/http://www.flickr.com/photos/40386529@N04/3717395834/sizes/o/in/photostream/http://www.flickr.com/photos/islandvittles/4880871685/sizes/m/in/photostream/http://www.flickr.com/photos/tannie/3625813552/sizes/l/in/photostream/http://www.flickr.com/photos/rrrodrigo/4651511382/sizes/l/in/gallery-michalczyzwisla-72157624198264688/http://www.flickr.com/photos/joshdamon/2434613595/sizes/l/in/photostream/http://www.flickr.com/photos/horiavarlan/4747872021/sizes/z/in/photostream/http://www.flickr.com/photos/esagor/3595260545/sizes/m/in/photostream/

http://demo.cucumber.fm http://github.com/cs3b/cucumber_fmhttp://cukes.info https://

Recommended