{"id":79,"date":"2019-06-17T19:25:00","date_gmt":"2019-06-17T19:25:00","guid":{"rendered":"https:\/\/www.bddtesting.com\/?page_id=79"},"modified":"2019-06-17T19:25:06","modified_gmt":"2019-06-17T19:25:06","slug":"bdd-fully-integrated-behavior-driven-development-and-testing-support","status":"publish","type":"page","link":"https:\/\/www.bddtesting.com\/bdd-fully-integrated-behavior-driven-development-and-testing-support\/","title":{"rendered":"BDD: Fully Integrated Behavior Driven Development and Testing Support"},"content":{"rendered":"\n

The Behavior Driven Development approach \u2013 BDD \u2013 centers around stories written in an \u201cubiquitous language\u201d that describe the expected behavior of an application. The use of the human-readable language Gherkin allows technical as well as non-technical project stakeholders to participate in the authoring of feature descriptions and therefore tests. Those descriptions serve as a base for the work of both developers (specification and feature descriptions) and testers (test steps).<\/p>\n\n\n\n

\"BDD<\/figure><\/div>\n\n\n\n

Using this approach, the test logic is clearly separated from the test implementation \u2013 leading to a clean and future-proof test design.<\/p>\n\n\n\n

The Squish IDE provides never before seen tooling support to create, record, maintain and debug Behavior Driven GUI Tests<\/em><\/p>\n\n\n\n

BDD is a recognized and highly regarded development and testing approach made popular by a wide range of test frameworks such as Cucumber, Behave and others. Squish\u2019s support for BDD is unique because it tightly combines and integrates the BDD approach and GUI test automation.<\/p>\n\n\n\n

Squish is 100% compatible with the Gherkin language, the de-facto standard amongst all major BDD frameworks, allowing the reuse of existing Gherkin Feature Files in Squish without modification. The Squish IDE provides never before seen tooling support to create, record, maintain and debug Behavior Driven GUI Tests. Test steps can also be implemented in any of Squish\u2019s supported script languages (currently Python, JavaScript, Ruby, Perl and TCL).<\/p>\n\n\n\n

Squish also provides a tremendously valuable and handy reporting feature for behavior driven tests: Feature files in the Squish IDE are color-coded after a test run based on the results of the individual test steps.<\/p>\n\n\n\n

\"BDD<\/figure><\/div>\n\n\n\n

Squish IDE: BDD test (feature file) with color-coded test run results<\/em><\/p>\n\n\n\n

The ability to generate a very rich and powerful HTML report for BDD tests is also available. The new reporting has also been integrated in all major Squish ALM and CI integrations. Using of any of Squish\u2019s test management and continuous integtration plugins, you will also benefit from the rich reporting features of Squish\u2019s of BDD support.<\/p>\n\n\n\n

Squish also allows BDD test cases and pure script test cases in a single test suite, for example sharing script code between script test cases and BDD test cases. We view this as gradual migration to BDD from existing, pure script-based tests \u2013 helping make the transition both easy and possible \u2013 all in a well supported environment.<\/p>\n\n\n\n

The video below demonstrates how to create your first BDD test case in the Squish IDE:<\/p>\n\n\n\n

\n