RedMurloc
RedMurloc

Reputation: 137

Tag inheritance in cucumber junit

I am using cucumber for integration tests, and I need some launchers to run them. Launchers are pretty similar, the only difference should be tags. Lets say, I need three common tags and one unique for every launcher. Can I create a parent launcher contains all common cucumber options needed, and then extend it tags adding a unique tag in every child? How can I do that? Are @CucumberOptions inheritable?

Upvotes: 0

Views: 215

Answers (1)

M.P. Korstanje
M.P. Korstanje

Reputation: 12019

@CucumberOptions are not inheritable in v5. There was some support for inheritance in older versions but not in a sensible way.

Upvotes: 1

Related Questions