3 ms·
I spent a year doing this for a Fortune 500. When you have a fractured back end there is no other option. Here is a talk I gave to our local Ruby users group.
by crb002 12y ago
I spent a year doing this for a Fortune 500. When you have a fractured back end there is no other option. Here is a talk I gave to our local Ruby users group. Code works out of the box on Nitrus.io, https://github.com/chadbrewbaker/LiterateFunctionalExploration https://github.com/chadbrewbaker/LiterateFunctionalExplorati...
1) Use the page object model. http://martinfowler.com/bliki/PageObject.html http://martinfowler.com/bliki/PageObject.html
2) Think about your functional tests like tours through a city. http://ptgmedia.pearsoncmg.com/images/9780321803023/samplepages/0321803027.pdf http://ptgmedia.pearsoncmg.com/images/9780321803023/samplepa...
3) As your tests become more advanced abstract them locally to two simple questions. What page object did I come from, and what action did I do on that page to get to this page?