All new Cucumber-JVM 5 with Enhanced Cucumber Expression | BDD

  Рет қаралды 4,896

Execute Automation

Execute Automation

Күн бұрын

Пікірлер: 9
@nitheshgowda2301
@nitheshgowda2301 3 жыл бұрын
Hi karthik, I started with latest version cucumber in that if use dryRun as true it not providing empty step definition instead of this it is providing me some skipException is there any alternative to empty step def snippets
@Himanshu03Gupta
@Himanshu03Gupta 4 жыл бұрын
Please help us out how to add dependency injection in the cucumber framework with the latest versions
@נתנאלכהן-ג6צ
@נתנאלכהן-ג6צ 4 жыл бұрын
Thanks for the video! Question - It looks like BDD based framework just adding more code and complexity to the project. If the product is changing, you need to update the code in more places like feature files and not only on your pages and tests classes. I wonder if the benefit of using BDD is worth it. Also, what happens if my project using classes for Rest APIs requests? there are no real steps that you can create in gherkin language that will match the API function.
@gustavosoto4607
@gustavosoto4607 4 жыл бұрын
I agree. Also the whole point of BDD is for other people to jump in and automate without knowing any code. But that's never the case because 99% of the time you need to code a new step definition for a new automation. Manual QA's always end up contacting the QA Engineer for help. It defeats the whole purpose. And with a framework made with TestNG (that supports parallelism, etc..) you can just add Logs on the automation, and share the logs with higher ups.
@נתנאלכהן-ג6צ
@נתנאלכהן-ג6צ 4 жыл бұрын
@@gustavosoto4607 Exactly! I think that currently it is more a buzzword than a real required methodology for most of the organizations.
@MrRangifer
@MrRangifer 3 жыл бұрын
@@gustavosoto4607 Although BDD actually adds an additional layer to the test code, it has some benefits, even if your development team don't fully follow BDD rules (BTW BDD is not about testing but about improving development process where scenarios play role of requirement specification, test cases and system documentation). If your BDD test framework is properly designed, it's much easier to maintain tests. Scenarios describe businesss goals and only if these goals (behaviors), change you need to update your scenarios. If technical implementations change (like for example REST response specification or web element IDs) then you need to update your underlayed element definitions. When everything is in the right place it's pretty easy to spot what you need to update and where. And it should be much easier to precisely find real defects.
@rajaniraogandra8531
@rajaniraogandra8531 4 жыл бұрын
Thanks, Karthik. Really Very useful video and I couldn't able to resolve @ParameterType annotation. Could you pls help to resolve this issue.
@swamyas5668
@swamyas5668 4 жыл бұрын
Hi Karthik, Thanks for the new content. book method is not getting resolved for me @ParameterType("[^\"]*") public List book(String bookName){ return Arrays.asList(bookName.split(",")); } @And("I have few books in hand {book}") public void iHaveFewBooksInHand(List book) { System.out.println(book.get(0)); } Do we need java 10 for this?, here is my pom file io.cucumber cucumber-java 5.7.0 com.fasterxml.jackson.core jackson-databind 2.10.0
@naveenbv1838
@naveenbv1838 4 жыл бұрын
Thanks for the great content 👍
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 82 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 7 МЛН
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
Intel's weapon against motherboard companies... will it work?
17:26
JayzTwoCents
Рет қаралды 182 М.
Using Generative AI in Software Automation/Manual Testing (Course)
12:58
Execute Automation
Рет қаралды 5 М.
JUnit5 | Readable tests
13:48
QaOps
Рет қаралды 175
27. Cucumber Framework || Transformer || Table Entry Transformer.
11:39
Top 6 React Hook Mistakes Beginners Make
21:18
Web Dev Simplified
Рет қаралды 577 М.