gingeleski / cucumber-spring-security-tests

Cucumber/BDD security tests example for Java (Spring Boot API).
9 stars 8 forks source link

Refactor IntegrationTestingBase as a hook #20

Open gingeleski opened 6 years ago

gingeleski commented 6 years ago

Right now, step definition files for integration testing extend from IntegrationTestingBase to start and manipulate an ephemeral server.

It would be preferable for this to be a "hook" to the Cucumber feature file tag @IntegrationTest. Besides the fact I think this is a cleaner setup, I believe this prevents reuse and splitting up of current step definition methods.