Behavior Driven Testing for Multichannel Enterprise Applications
-
Upload
bamdad-dashtban -
Category
Technology
-
view
1.096 -
download
3
description
Transcript of Behavior Driven Testing for Multichannel Enterprise Applications
![Page 1: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/1.jpg)
Behaviour Driven Testing
for
Multichannel Enterprise Application
![Page 2: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/2.jpg)
Contents
What is behaviour driven testing
What do we mean by multi channel applications
Testing Approach
Demo
Things to consider
Take Away
![Page 3: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/3.jpg)
What this talk is NOT about ?
Behaviour Driven Development (BDD)
![Page 4: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/4.jpg)
What this talk is about ?
Behaviour Driven Testing (BDT)
![Page 5: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/5.jpg)
What is Behaviour Driven Testing ?
Approach to look at Bigger Picture
Helps drives Testing development
Uses Behaviour Driven Tools
Majorly useful for testing Multichannel
Applications
![Page 6: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/6.jpg)
Multichannel Enterprise Application
![Page 7: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/7.jpg)
Buy a train ticket using iPhone
As a iPhone user
I want to buy a train ticket
So that I can travel to a place of my
interest
![Page 8: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/8.jpg)
Buy a train ticket using Android
As a android user
I want to buy a train ticket
So that I can travel to a place of my
interest
![Page 9: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/9.jpg)
Buy a train ticket using Website
As a web user
I want to buy a train ticket
So that I can travel to a place of my
interest
![Page 10: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/10.jpg)
User behaviour – buy a train ticket
As a user
I want to buy a train ticket
So that I can travel to a place of my
interest
![Page 11: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/11.jpg)
User Behaviour
remains the same irrespective
of the channel used
![Page 12: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/12.jpg)
Architecture
SOA / Web servicesWeb Services
UI Common Backend
![Page 13: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/13.jpg)
UI Common Backend
Testing
Entry
Points
Testing Entry Points
![Page 14: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/14.jpg)
Common Backend
UIUser Flow
User Flows
ios
droid
web
Web Services
![Page 15: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/15.jpg)
Common Backend
UIUser Behavior
Common Backend
UIUser Behaviour
User Flow
User Behaviour
ios
droid
web
Web Services
![Page 16: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/16.jpg)
If we test User Behaviour
on each channel in-turn we test
the User Flows specific to that
channel
![Page 17: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/17.jpg)
Demo
![Page 18: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/18.jpg)
Tools / Test Infrastructure
Common Backend
UIChannel-Specific Mapping
User Behaviour
Frank
Calabash
Web-driver
ios
droid
web
Cucumber Specs
Shared logic
Test Tools
![Page 19: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/19.jpg)
Things To Consider
Where to start in the process
– user journey on 1 channel is complete
Where these tests fit in / are useful
– for multichannel applications
- when a new channel is introduced
– in the regression cycle
![Page 20: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/20.jpg)
Things To Consider …
Consumer of the tests
– Business
- QA team
Number of tests
– limited to the number of different user journeys
available
![Page 21: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/21.jpg)
Other Tools
Shim.js
Spoon.net
http://browsershots.org/
![Page 22: Behavior Driven Testing for Multichannel Enterprise Applications](https://reader030.fdocuments.in/reader030/viewer/2022020720/548121a0b4af9f810f8b4b81/html5/thumbnails/22.jpg)
Take Away
Write Once Run Any where
User Behaviour remains the same irrespective of the
channel used
If we test User Behaviour on each channel in-turn we
test the User Flows specific to that channel