BDD for Beginners 1 | What is BDD with Examples | How BDD works | What is Cucumber
Вставка
- Опубліковано 30 вер 2024
- Quiz - automationstep...
Tell me your score in comments below
1 What is BDD
Behaviour Driven Development
2 How BDD is done
3 3 Practices of BDD
4 What is Cucumber
What does BDD mean
Why should we do BDD
What is BDD
Behaviour Driven Development
BDD is all about collaboration between teams
Builds a common understanding on the behaviour of the application
Generates common documentation that can be understood by all teams & stakeholders
Start with. a user story
1. It is discussed among teams
2. Conversation & discussion on how the system should behave
3. Examples are created, discussed, agreed and approved
4. Examples are documented in a way that can be developed & tested with automation
5. Coding phase - implement behavior as per the documented examples
3 Practices of BDD
Discovery
Explore & Discuss on how the system should behave
Outcome: Agreed behavior of the system
Formulation
Create concrete examples that can be automated
Outcome: Documented Examples
Automation
Coding as per the documented examples to implement the agreed behavior of the system
Create automation tests taking one example at a time to guide the development
Outcome: Code Implementation & Automation tests
What is Cucumber
Cucumber is a tool that facilitates BDD
BDD practitioners may use Cucumber to automate their documentation
Cucumber is a tool that understands your documentation and turns it into automated tests
Take the QUIZ - automationstep...
Join Automation Step By Step channel: www.youtube.co...
Udemy Discounts - automationstep...
Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you
You can support my mission for education by sharing this knowledge and helping as many people as you can
If my work has helped you, consider helping any animal near you, in any way you can.
_______ ONLINE COURSES TO LEARN _______
automationstep...
GitHub - github.com/Rag...
Udemy - www.udemy.com/...
Training by Raghav at your venue - raghav.qna@gmail.com
Training schedule - automationstep...
----------- UI TESTING -----------
Selenium Beginners - bit.ly/2MGRS8K
Selenium Java Framework from Scratch - bit.ly/2N9xvR6
Selenium Python - bit.ly/2oyMp5x
Selenium Tips - bit.ly/2owxc50
Selenium Builder - bit.ly/2MKNtlq
Katalon Studio - bit.ly/2wARFdi
Robot Framework with RIDE- bit.ly/2Px6Ue9
Robot Framework with Eclipse - bit.ly/2N8DZxb
Protractor - bit.ly/2KtqVkU
TestProject - bit.ly/2DRNJYE
----------- API TESTING -----------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
Katalon Studio API Testing - bit.ly/2BwuCTN
----------- MOBILE TESTING -----------
Appium - bit.ly/2ZHFSGX
Mobile Playlist - bit.ly/2PxpeUv
----------- CI | CD | DEVOPS -----------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx
Kubernetes - bit.ly/2MJIlMK
------------VIRTUALISATION------------
Virtualization on windows - bit.ly/2SItIL9
----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - bit.ly/2Q1pagY
GitLab - bit.ly/2kQPGyQ
----------- PERFORMANCE TESTING -----------
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS
----------- PROGRAMMING -----------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
GROOVY - bit.ly/2FvWV5C
JAVASCRIPT - bit.ly/2KJDZ8o
PYTHON - bit.ly/2Z4iRye
----------- IDE -----------
Visual Studio Code - bit.ly/2V15yvt
----------- BUILD TOOLS -----------
Maven - bit.ly/2NJdDRS
Gradle - bit.ly/30l3h1B
----------- OTHERS -----------
Redis- bit.ly/2N9jyCG
Misc - bit.ly/2Q2q5xQ
Tools & Tips - bit.ly/2oBfwoR
QnA Friday- bit.ly/2NgwGpw
Sunday Special - bit.ly/2wB23BO
Ask Raghav - bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA
---------- Connect with Raghav -----------
Website - automationstep...
LifeCharger -
Udemy Courses - www.udemy.com/...
Facebook - / automationstepbystep
Twitter - / learnwithraghav
UA-cam - / automationstepbystep
Never Stop Learning
Raghav
Crisp and clear knowledge sharing
Thank you
Glad it was helpful Neelesh
Great explanation, so that starter also can understand the topic clearly
I like the way you posted everything in description(we can maintain notes from that)
Congratulations and lots of Thanks
Glad it was helpful Siyamala
Hi Raghav....whic is better for career cucumber bdd with java or robot framework python??
Hi Abhishek
Both Cucumber BDD with Java and Robot Framework with Python are popular and powerful automation tools in the software testing industry. The choice between the two ultimately depends on your personal preference, the specific requirements of your project, and the skills and experience you already have.
Cucumber BDD with Java is a popular framework for Behavior-Driven Development (BDD) that uses a plain-text language called Gherkin to describe the behavior of an application. Java is a widely used programming language with a large community and a vast number of libraries and resources available. If you are comfortable with Java and enjoy writing code in it, then Cucumber BDD with Java can be a great option for you.
On the other hand, Robot Framework with Python is a generic test automation framework that uses a keyword-driven approach to describe the tests. Python is a simple and easy-to-learn programming language with a wide range of libraries and resources available for automation. If you are comfortable with Python and enjoy writing code in it, then Robot Framework with Python can be a great option for you.
Both frameworks have their own strengths and weaknesses, and the best choice depends on the specific requirements of your project and your personal preference. It is also worth noting that having experience with both Java and Python can be an added advantage in the software testing industry.
I will suggest that you can learn both and many others, in this industry we have to keep updating ourselves and keep learning new and more tools and technologies
@@RaghavPal okay thanks Raghav....in POM.xml, should cucumber java & testNG dependencies should have same versions...latest versions seems to have different numbers
thats fine, as long as they are compatible and work with each other
Which of the following are BDD practices?
A) Exploratory Testing
B)
Early testing
C) Specification by example
D) Domain based testing
Sandhiya
B) Early testing
C) Specification by example
What a perfect explanation. Thank you so much Sir for your all efforts.
Most welcome
Hey there,
Thanks for the tutorial.
It was very clear. (y)
Glad you liked it!
When i was 8 i was about to die from drinking bleach and I'm paniced but it was actually just a expired orange juice cuz i didn't look at what it was and it was in a cup in my room that was a red one so i couldn't see what it was but it tasted wierd so it was actually expired orange juice😂😂😂
ok
I was searching for the Best tutorial to understand BDD ..Its very clear explanations Thanks lott such a amazing n understandable teaching.
In Quize Scored 7/10..😊
You are most welcome Soumya
w
9/10 I fell into the trap of question 9 . Thanks a lot !!!
all the best
Same here 😊
I need full course of BDD
Cucumber and selenium integration
How to get it...
Hi Aswin, can check here - automationstepbystep.com/
Hi Raghav
Can you please create a playlist for serenity with cucumber framework
Thank you
Sure Vikram, will plan on this
Good explanation, Thank you!
Most welcome Ana
Best Videos, Thank you for sharing.
Glad you like them Monica
Is it possible to implement threading in BBD?
Like in BBD we have steps in the scenario file, so I want only one step that when executed in the scenario file then only that step should be executed in parallel.
For example -
We have 4 lines in BBD scenario file.
I want the third line to be executed in parallel because execution of third line step takes 10mins alone and step 4 isn't dependent on the 3rd step, so I wanted to speed up and save that 10mins by running it in parallel.
Hi Abhishek, will need to check some online example and resources for this
@@RaghavPal thanks for the reply bade bhai, yes please look into it. it would be really helpful. Actually googling this problem statement is quite difficult as I am not able to articulate it properly otherwise would have tried going deeper in google search.
ok
Very well and to the point (no chit chat to extend video) explained. Thank you Raghav.
Most welcome Ashish
If join in your Chanel what services I will get
Hi Narayana, when you click on JOIN button, you will see the options
Can you please make a video about Selenium Grid
I will plan
Perfect explanation
Glad it was helpful!
😑 use dark screen not white
Ok
Finally, waiting is fulfilled....
Thank you Raghav bro....
Waiting to next video bro....
Most welcome. Next video coming soon
Thnk u bro..
Sir you are great in explaining the core concepts. Your channel is very helpful in understanding the concepts. Thank you
Most welcome Manoj
Great Explanation in Neat and clear way👏 it would be great if you make video how to explain BDD cucumber framework/ folder structure used in your project end to end to an interviewer so it's easy as it's mostly asked question in every interview
I will do Bhargav, thanks for watching
completed
Great 👍🏻
My team is asking below questions. Does BDD automation is really required? BDD is just additional layer. There is no quantifiable benefits out of it. Can you please help here.
Hi Aravind, that is a very valid question and I always say that you first analyze and check if BDD will work for you as it is a organization wide practice and implementing BDD only in QA team may not realize its full benefits, In this series I have discussed al this ua-cam.com/play/PLhW3qG5bs-L_hJZ3Nfg70ejkH3ktyzy34.html
can we define test suites in BDD ?
Yes, can use Features and Scenarios for that
BDD cucumber karate rest assured all these automation testing is going perfect after watching ur videos.
Great to know this
there is no one better than you
Humbled.. thanks
10/10
Thanks Prameela
So cucumber takes the documentation you write for automation test and turns it into real code / actual tests?
Hi Coby, we write the tests as user stories in Gherkin language and then we also have to write the code to support the statements. This will help you further ua-cam.com/play/PLhW3qG5bs-L_hJZ3Nfg70ejkH3ktyzy34.html
thank u so much !!
Most welcome Belkouri
I got 7/10 in the quiz.
Great Onkar. Try more
Hi sir, thanks for easy explanation and giving notes ..it helps me lot..
Most welcome!
hi bro u have mentioned that cucumber,,jbehave are some tools for BDD,
does those tools are only for java people,if so how we can implemnt BDD in python
you will find tools to implement BDD in Python too like Behave
Got 7/10.Thanks for the beautiful understanding
Excellent Bhagyashree
sir which is the latest methd to follow in test documentation and management ? is test management is tool based or can we opt bdd for test documentation
It depends on the team and org. If they are following BDD or not
thank you for this video
I got 8 out of 10
Great Deepali
Entropy
will need details on this
Thank you
You're welcome Aydin
u are great
Thanks for watching
Best tutorials
I got 8/10 in the quiz.
Best explanation given for the quiz qns and ans
Glad to see this Sriram
As usual very comprehensive content. Sir one quick question, in BDD process there is no scope for manual test or it is only automated test from the begining. It would be great if you can also help us to understand how BDD works ha d in hand with the agile environment. With due respect your disciple.
Hi, BDD involves all, and the purpose is to share and collaborate so all teams have common understanding of the scenarios and use cases. So even the manual testing can use the feature files to run test cases
thanks, it was really helpful, i scored 9/10
Great Madhav
Raghav,
Thanks a lot for this tutorial!! As always, you are rocking with simple, crisp, to-the point explanation of the concepts..Keep up doing good work!!!
One small query, any leads for typescript with cucumber please. It's my project need. But, not finding something like yours. I am really struggling.
Will be really appreciated if you can guide on this matter.
Many Thanks!
Mousumi
Hi Mousumi, I will be publishing TypeScript tutorials soon, not exactly TypeScript with Cucumber, but this will help you
Thank you so much Raghav for your response. I will be waiting eagerly for the same. It'll be great it if you keep it into little detailed manner.
Explained in simple words. Thanks😁
Most welcome 😊
Hello Sir,
I was following your cucumber bdd video with selenium , and parallely i was trying to automate my project. Now the project of mine takes the google sign in of my organization, and there is a okta multi factor authentication added to it (text message or push notification sent to mobile). Please help me with this scenario Sir, where i open the app, click on sign in with google, enter my email id, again enter netwrk id n paswd, okta verification code(either text message or push notification)., finally i will land to the home page of application.
Need your inputs/help/reference in automating this process?
Hi Divyendu, you will need to add the scripts for this. I will suggest to check with your team (dev, qa), if this can be disabled in testing env.
@@RaghavPal Hi Sir, I can bypass the 2FA with the help of dev team. Thank you!!!
So, BA should be the one writing the feature files, correct?
Hi Đăng, there will be a session on BDD Roles and Responsibilities, In general the BA or Product Owner will write User Stories and also Examples to discuss in the Discover meeting and in that meeting the Final Examples are agreed upon by the group, which then get formulated and documented as Features
Awesome explanation. Way you delivered is so easy to understand. Thank You so much for sharing.
Glad it was helpful Rupal
@@RaghavPal - I took the test and I got 10/10. Also will you be able to pass me a video link which can explain how to write a test case using BDD. Like a simple script. Thank You!!
Rupal
Can check the following resources:
Software Testing Help - BDD And Cucumber Tutorial With Examples
BDD Framework: A Complete Tutorial
Very useful video thankyou
Most welcome Sakshi
Great explanation. Thanks Sir
You are welcome
SUPER BRO THANKS A LOT,
ONE SMALL REQUEST WHO IS READING THIS COMMENT PLS DO NOT SKIP, THE ADDS,THIS IS THE LEAST WAY WE CAN HELP THIS BRO WHO IS REALLY WORKING HARD FOR US TO TEACH IN AN EAASY WAY
Thanks for the message and kind words Meghanath
thank you it was helpful for me
happy to know Nawid
as name says, in all your videos there is step by step explanation
very easy to understand , thank you sir 🙏
I found after Durga sir your videos are truly Easy and Detailed.
Happy to know
Awesome Explanation!
Thanks Manish
keep posting videos content is damn good
Sure
wow very nice explanation....thanks alot.
You are most welcome Syed
Thank you. it is useful
Thanks
thanks for sharing !!
My pleasure Sergio
very well explained
Thanks Suresh
Thank you for sharing!
Most welcome Daniel
I have scored 7/10
Great Mousumi
Nice video. Well paced.
Thanks
Thanks @Rahgav Bhai ❤️❤️
Most welcome Sashank
Great video 🎉
Thanks Naresh
very nice session
Glad you liked it Ashwini
9/10
Thanks for watching Rashin
Thank you
You're welcome
excellent
Thanks Rahul
very nice
Thanks
I love it
Thanks a lot Prabal
Nice
Thanks Sai
Very clear explanation , thank you and i received 8 out of 10 points.
Excellent Dinesh
What quiz are you talking about?
Awesome
Thanks
Excellent brief summarized explanation for BDD introduction. Score: 9/10
Glad it was helpful!
This is awesome thank you
Most welcome
Nicely explained 😊
Thanks a lot Nitish
Thanks Raghav, for this series.
Most welcome Amiya
Thank You !!
You're welcome Snehal
This is wonderfully clear and logically explained. This was incredibly easy to understand ^_^
Glad it was helpful Robert