the dream - events.drupal.org · $ behat --story-syntax --lang your_lang don't forget to...

18

Upload: others

Post on 26-Sep-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 2: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 3: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven

The Dream

Page 4: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven

Who should use Behat?

● Behat was developed for Business Analysts (BA) and developers, so as to bridge the gap between business stakeholders and the development team

● It is also used by testers for testing websites. As Behat uses Gherkin language to write it’s scenarios, it becomes easy for testers to map it with the acceptance criteria of the project.

Page 5: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven

When to use Behat?● Testing the data/content on the webpage● Testing actions (like links, buttons etc.)● Testing forms● In migration state of any website from one CMS to other● For end to end testing (i.e. flow of an application from start to finish)● For Functional, Regression, Smoke and Sanity Testing● For running the test cases quickly using Goutte driver

Page 6: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven

When not to use Behat?● Dynamic data● Images● Frequent changes in website● Filling up forms in production site● Http response of links throughout the website

Page 7: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 8: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 9: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 10: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 11: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 12: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 13: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 14: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 15: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 16: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven
Page 17: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven

Questions

Page 18: The Dream - events.drupal.org · $ behat --story-syntax --lang YOUR_LANG Don't forget to include your language in you're my-feature.feature Behat is... Is an open source behavior-driven