Cucumber: How to use the Hooks | Before & After Annotations

Jahmal Richard
Jahmal Richard
3.6 هزار بار بازدید - 3 سال پیش - #Cucumber
#Cucumber #BDD #Selenium

Hi everyone Jahmal here! Welcome back to the channel and in today's video I will be showing you how you can get started using the hooks feature in the cucumber framework.

If you have any issues please feel free to drop a comment or contact me directly.

Want to support the channel? A coffee will do :) https://www.buymeacoffee.com/jahmalri...

Pre Reqs: Java, Maven & Eclipse

How To Install Java:Java SE 15 Installation Guide for Mac...
How To Install Maven: How To Install Maven On Mac OS Step B...

⭐️ My Top 9 Must Haves! ⭐️

1️⃣ Mac M1 Pro Laptop - https://amzn.to/44V0z48
2️⃣ LG Gram Portable Monitor - https://amzn.to/3yvXJGN
3️⃣ Anker Portable Charger - https://amzn.to/3R2BVcm
4️⃣ Logitech Master 2s Mouse -  https://amzn.to/4dRDPpV
5️⃣ Apple AirPods Pro Gen 2  - https://amzn.to/4aDnhPs
6️⃣ Laptop Portable Light - https://amzn.to/3yKuDmY
7️⃣ DJI Mic  -  https://amzn.to/3yB0RBn
8️⃣ DJI Action 4  Cam - https://amzn.to/4bSTFyF
9️⃣ DJi Mavic Drone - https://amzn.to/3UOhXmE

If you purchase through my links I will receive a small commission and will help support the channel so thank you in advance!

=====================================================

👥 Follow Me On Social Media!

Patreon: Patreon: jrichardpro
Facebook: Facebook: jrichardpro​
Instagram: Instagram: jrichardpro
Twitter: Twitter: jrichardpro

Video Break Down
Intro 00:00
What Are Hooks? 00:25
Moving Before and After Annotations  01:30
Creating a DriverManager Class 01:50
Creating the Hooks Class 03:12
Passing the Hooks Driver 05:13
Testing Cucumber Hooks Class 05:44
BeforeStep & AfterStep Annotations 06:12
Outro 08:02

Thank you for watching! If you like this video please feel free to smash the like button and subscribe to channel.
3 سال پیش در تاریخ 1400/11/11 منتشر شده است.
3,682 بـار بازدید شده
... بیشتر