Freshen your test cases

Talks | Submit a talk
Authors Kausikram Krishnasayee
Level Intermediate
Topic Testing
Tags python, testing, freshen, BDD,TDD selenium
Summary

Beyond a point any amount of test code written in python, is of no use when it becomes overly rhetoric and fails to address the main reason for which it was written in the first place. Add to this, scenarios where the business analyst has no idea about the underlying code and there exists a pragmatic disconnect between the expected behavior and the actual interface that has been developed. In scenarios like these Behavior driven development based on test cases written not in python, but a business readable domain specific language makes much more sense. The talk involves discussing this idea in general, and having an in-depth look at "Freshen" which is a framework written in python which helps us do just that.

Outline

THe talk can be broadly classified into three parts. In the first part the speaker would try to establish the reason why test cases written in a domain specific business readable language makes more sense than in python, in certain scenarios. Once this premise has been established the speaker will go ahead and introduce Freshen which is one of the many BDD frameworks available. this would be in a part tutorial / part speech mode with a lot of code involved.

In the third and final part the speaker would go ahead and use freshen as a wrapper for Selenium tests, hence trying to establish the point that "Freshen" or any other BDD framework for that matter, makes life easy for not only the developer but also the entire group of people involved in the development, from the designer to the product owner.

Notes
Profile of the authors

Kausikram Krishnasayee, is a code geek at Silver Stripe Software. Being a Mechanical Engineer, it was love at first sight, when he got introduced to the python programming language. Python to him is the natural, only obvious way he found to transcend from his Spaghetti PHP days, as the Main Site Administrator and head of Technology and backend operations of Proto.in. Kausik is convinced that he is in no way a python guru but a very modest and enthusiastic student of the language that helps him earn his bread and butter. He is ever fascinated in learning and discovering new things and intricacies surrounding the language, and loves to share the tricks he learnt with his peers.

Files
file size uploaded comment
freshen.odp 18.9 KB september 19, 2010 hopefully the final version :)

You can upload or delete a file if you are author of this talk.