0

Behaviour driven development and Webdriver

asked 2011-07-04 07:29:04 +0800

tvella gravatar image tvella
87 3

updated 2011-07-04 07:48:51 +0800

Hi,

BDD is becoming a best practice approach that allows business stakeholders to define requirements (as acceptance criterion) in business language. The acceptance criteria can then be implemented and automatically executed. An execution usually results in the creation of a report that indicates which business criterion have passed, failed or are pending implementation.

See BDD Wikipedia

There are many BDD tools in market, the ones that have captured my interest are EasyB and GEB. When EasyB is combined with Webdriver, one has a formidable set of tools to create maintainable web test cases. Apart from being more stable, Webdriver supports page objects, which is an approach to creating highly maintainable test cases.

I am not a fan of ZTL because it appears not to be possible to use the tool with EasyB or other BDD tools. Also ZTL does not allow you to use the page object pattern, so test case maintenance is significantly higher. For more info on page objects refer to this link: Page Object Intro

When will ZK support Webdriver and enable the use of BDD?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-07-04 19:47:58 +0800

dennis gravatar image dennis
3679 1 6
http://www.javaworld.com....

Hi, thanks for the information, We will look into this.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-07-04 07:29:04 +0800

Seen: 477 times

Last updated: Jul 04 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More