tag:blogger.com,1999:blog-89424253497488596.post2602499072332489558..comments2012-12-16T18:47:47.252-08:00Comments on jcayco: Organized NotesAnonymoushttp://www.blogger.com/profile/09859211136110997357noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-89424253497488596.post-54112385524214564812012-12-16T18:36:34.606-08:002012-12-16T18:36:34.606-08:00Okay, I see what you mean, I'll update accordi...Okay, I see what you mean, I'll update accordingly. :)Anonymoushttps://www.blogger.com/profile/09859211136110997357noreply@blogger.comtag:blogger.com,1999:blog-89424253497488596.post-12129466096079559172012-12-14T22:59:50.859-08:002012-12-14T22:59:50.859-08:00Great to see these written out. The main challeng...Great to see these written out. The main challenge with the way you've written the scenarios are that the final "Then ..." lines are not in a form that is explicitly testable.<br /><br />The idea with the cucumber scenarios is that they can be run as integration tests that checks whether your system actually provides the desired functionality. This was the essence of HW3 from the first EdX course. <br /><br />So rather than "Then I should get a printed version of the meeting notes summary" you should have something like "Then I see ''Meeting Number 6 Summary (print version)", which would correspond not to actually printing the document, but the view on the screen prior to printing.<br /><br />Similarly for "Then I should get an organized list of category selected" should be something that actually check for the presence of particular notes under particular categories. As you have hopefully seen in some other cucumber examples, the scenario background can include setup of the database so that you have for example, two notes in each category, and then you can check explicitly that those appear under the correct category headings.Sam Josephhttps://www.blogger.com/profile/10788506730233381803noreply@blogger.com