eBook - ePub
Cucumber Cookbook
Shankar Garg
This is a test
Partager le livre
- 162 pages
- English
- ePUB (adapté aux mobiles)
- Disponible sur iOS et Android
eBook - ePub
Cucumber Cookbook
Shankar Garg
DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations
Foire aux questions
Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier lâabonnement ». Câest aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via lâapplication. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă la bibliothĂšque et Ă toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode dâabonnement : avec lâabonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă 12 mois dâabonnement mensuel.
Quâest-ce que Perlego ?
Nous sommes un service dâabonnement Ă des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă toute une bibliothĂšque pour un prix infĂ©rieur Ă celui dâun seul livre par mois. Avec plus dâun million de livres sur plus de 1 000 sujets, nous avons ce quâil vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Ăcouter sur votre prochain livre pour voir si vous pouvez lâĂ©couter. Lâoutil Ăcouter lit le texte Ă haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, lâaccĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Cucumber Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă Cucumber Cookbook par Shankar Garg en format PDF et/ou ePUB ainsi quâĂ dâautres livres populaires dans Computer Science et Quality Assurance & Testing. Nous disposons de plus dâun million dâouvrages Ă dĂ©couvrir dans notre catalogue.
Informations
Cucumber Cookbook
Table of Contents
Cucumber Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Writing Feature Files
Introduction
Writing your first Feature file with one Scenario
How to do itâŠ
How it worksâŠ
Feature
Scenarios
Steps
Creating Scenarios with different Steps
How to do itâŠ
How it worksâŠ
Creating a Scenario with the And and But keywords
Getting readyâŠ
How to do itâŠ
How it worksâŠ
Writing a Feature file with multiple Scenarios
How to do itâŠ
How it worksâŠ
Adding Backgrounds to Feature files
Getting ready
How to do itâŠ
How it worksâŠ
Sending multiple arguments in Steps
How to do itâŠ
How it worksâŠ
Using complex data types to store data
Getting ready
How to do itâŠ
How it worksâŠ
Implementing Scenario Outlines
Getting ready
How to do itâŠ
How it worksâŠ
Creating a Feature file in a language other than English
How to do itâŠ
How it worksâŠ
Combining Scenarios, Backgrounds, and Scenario Outlines
How to do itâŠ
How it worksâŠ
2. Creating Step Definitions
Introduction
Creating your first Step Definitions file
How to do itâŠ
How it worksâŠ
Step Definitions
Undefined Steps
Pending Steps
Implemented Steps
Identifying Duplicate and Ambiguous Step Definitions
How to do itâŠ
How it worksâŠ
Using Regular Expressions to optimize Step Definitions
How to do itâŠ
How it worksâŠ
Using Optional Capture and Noncapture Groups
How to do itâŠ
How it worksâŠ
Transforming Data Tables to parse the test data
How to do itâŠ
How it worksâŠ
Implementing data table diffs to compare tables
How to do itâŠ
How it worksâŠ
Using Doc Strings to parse big data as one chunk
How to do itâŠ
How it worksâŠ
Combining Doc Strings and Scenario Outlines
How to do itâŠ
How it worksâŠ
Defining String transformations for better conversions
Getting ready
How to do itâŠ
How it worksâŠ
3. Enabling Fixtures
Introduction
Tagging
Getting ready
How to do itâŠ
How it worksâŠ
ANDing and ORing Tags
Getting ready
How to do itâŠ
How it worksâŠ
Adding Hooks to Cucumber code
Getting ready
How to do itâŠ
How it worksâŠ
There's moreâŠ
Tagging the Hooks
Getting ready
How to do itâŠ
How it worksâŠ
ANDing and ORing tagged Hooks
Getting ready
How to Do it
How it worksâŠ
4. Configuring Cucumber
Introduction
Integrating Cucumber with JUnit
How to do itâŠ
How it worksâŠ
Overriding the Cucumber Options
How to do itâŠ
How it worksâŠ
Running Strict and Running Dry
How to do itâŠ
How it worksâŠ
Configuring the Cucumber Console output
How to do itâŠ
How it worksâŠ
Directing the Cucumber output to a file
How to do itâŠ
How it worksâŠ
Configuring the naming conventions
How to do itâŠ
How it worksâŠ
5. Running Cucumber
Introduction
Integrating Cucumber with Maven
Getting ready
How to do itâŠ
How it worksâŠ
Running Cucumber from the Terminal
How to do itâŠ
How it worksâŠ
Overriding Options from the Terminal
How to do itâŠ
How it worksâŠ
Integrating Cucumber with Jenkins and GitHub
Getting ready
How to do itâŠ
How it worksâŠ
Running Cucumber test cases in parallel
How to do itâŠ
How it worksâŠ
6. Building Cucumber Frameworks
Introduction
Building a Web Automation framework
Getting ready
How to do itâŠ
How it worksâŠ
Building a Mobile Automation framework
Getting ready
How to do itâŠ
How it worksâŠ
Building a REST Automation framework
How to do itâŠ
How it worksâŠ
Index
Cucumber Cookbook
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: May 2015
Production reference: 1260515
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78528-600-1
www.packtpub.com
Credits
Author
Shankar Garg
Reviewers
John Kamenik
Nguyen Quang Phuong
Abhishek Yadav
Commissioning Editor
Priya Singh
Acquisition Editor
Larissa Pinto
Content Development Editor
Sriram Neelakantan
Technical Editors
Namrata Patil
Bharat Patil
Copy Editors
Puja Lalwani
Laxmi Subramanian
Project Coordinator
Vijay Kushlani
Proofreaders
Stephen Copestake
Safis Editing
Indexer
Rekha Nair
Graphics
Jason Monteiro
Production Coordinator
Melwyn D'sa
Cover Work
Melwyn D'sa