• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cant run test in my project

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey everyone,


I am building a project to perform automated tests ebay's website..

after i have wrote a test for buying a product, using cucumber technique.. when I try to run the test case, nothing happens as shown in the image that i have attached.



my code is in github, here is the url:
https://github.com/sameh97/EbayTestingProject/tree/add-bdd-tests



- the most updated code is in "add-bdd-tests" branch.




ebay-testing-porject-cant-run-tests-issue.png
this is what i get when i run the project
this is what i get when i run the project
Screenshot-2023-01-17-194445.png
here is the project structure
here is the project structure
Screenshot-2023-01-17-195753.png
pom.xml file
pom.xml file
 
Saloon Keeper
Posts: 15450
363
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

Can you please post your pom.xml?
 
Sameh Hassoun
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Stephan van Hulst wrote:Welcome to CodeRanch!

Can you please post your pom.xml?



i have added it to the current post, also it's in the github repository.

thank you!
 
Sameh Hassoun
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Stephan van Hulst wrote:Welcome to CodeRanch!

Can you please post your pom.xml?




here is the pom.xml file:


 
Marshal
Posts: 79063
376
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sameh Hassoun wrote:. . . here is the pom.xml file. . . .

Thank you
I shall try adding code tags to it; the tags usually make the post look much better
 
Stephan van Hulst
Saloon Keeper
Posts: 15450
363
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are using many conflicting (transitive) dependencies. Two of the major issues are that you're using two different versions of JUnit, and two different versions of Cucumber.

It would be very difficult to explain to you exactly how to fix it, so I just made a Pull Request that fixes all your issues for you.
 
Sameh Hassoun
Greenhorn
Posts: 4
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Stephan van Hulst wrote:You are using many conflicting (transitive) dependencies. Two of the major issues are that you're using two different versions of JUnit, and two different versions of Cucumber.

It would be very difficult to explain to you exactly how to fix it, so I just made a Pull Request that fixes all your issues for you.



thank you!! it worked, I really appreciate it.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic