Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run Spring Boot and Spring Data with Gauge framework #5

Open
AhmetRufai opened this issue Feb 3, 2021 · 0 comments
Open

How to run Spring Boot and Spring Data with Gauge framework #5

AhmetRufai opened this issue Feb 3, 2021 · 0 comments

Comments

@AhmetRufai
Copy link

Hi,
In a large e-commerce company in Turkey, test automation structure, we decided to create using the Gauge Framework. We have created a project structure with spring boot and spring data for our DB connections and queries on the Java side. The Spring infrastructure we have created works successfully when run from the java main class. But when we want to run it with the Gauge runner, Spring does not stand up. Do you have a solution for this situation?
Project structure:

  • spec
    • Payment.spec
  • src
    • main
      • java
        • model
          • PaymentEntity.java
        • repository
          • PaymentRepository.java(this class is an interface and extends CrudRepository.java)
        • service
          • PaymentService.java
        • Application.java(main class)
      • resources
        • application.properties
    • test
      • java
        • payment
          • DbCheck.java (I want to perform a db query in this class)
        • step
          • PaymentStep.java (extends DbCheck.java)

Thanks/ Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant