How to execute other directory feature files in karate

前端 未结 1 1131
臣服心动
臣服心动 2021-01-23 12:40

I had a situation where i am working in home.feature and need to call return.feature and gets the data. And internally return.feature is calling data.feature and collects all th

1条回答
  •  被撕碎了的回忆
    2021-01-23 13:15

    There is a this: prefix: https://github.com/intuit/karate#reading-files

    So this should work when you are inside return.feature

    * call read('this:data.feature')
    

    0 讨论(0)
提交回复
热议问题