简体   繁体   中英

Java cucumber without feature file

I am quite new with cucumber and I try to find on the web if it is possible to Use cucumber java library without using feature file from cucumber

What I would like to do is to instantiate Java object with Step definition in it (GIVEN/WHEN/THEN) from a string that will store my gherkin test.

If any of you have already been in same position it will be great to discuss it

Thanks

PS: I could use the feature file but I will have to do little more dev to retrieve it and write it on the disk as Cucumber is on my XRay company server

AFAIK it's not something possible with Cucumber right now and even if possible it would require a non negligible amount of work.

Have you read this documentation on how to use Cucumber with XRay though?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM