jeudi 2 novembre 2017

CUCMBER feature definition in different module than feature file

first of all - I am not sure if cucumber support this, but is it possible to define features in different module than in one that contains feature files?

Given real life example: Let's say I want to have module called 'carcore', Then let's say I want to have module called 'Volkswagen', and other one called 'Ford'.

Is it possible that I will put feature deffinition files for common features in 'carcore' module but keep feature diffinition files specific for vokswagen or ford in their own modules?

I am using gradle to sew this modules together. It is more or less simple. Though when Cucumber annotations are introduced, it is not that easy. Cucumber is not able to find feature definitions in other modules. I was not able to find any relevant and useful reading, so if anyone can help me or point me into right direction I would be very glad.

Aucun commentaire:

Enregistrer un commentaire