karate Framework language support

喜欢而已 提交于 2021-02-16 20:56:51

问题


Is it possible to write C# utility using KARATE framework ?

I have written utility functions for automate the API using Java , but now i want to write utility functions in C# , is there a way to do that?


回答1:


Karate actually is language-neutral and uses Gherkin, but with some custom-syntax and the option to mix plain JavaScript. Teams normally don't worry about Java or .NET when working with Karate because you are testing the HTTP layer.

Maybe the new capability to run Karate as a stand-alone binary will be of interest to you: https://github.com/intuit/karate/tree/master/karate-netty#standalone-jar

Finally, you really want to, you can call something written in .NET via the command-line, refer this answer: https://stackoverflow.com/a/51150286/143475 - and maybe the "reverse" of this is what you are looking for.



来源:https://stackoverflow.com/questions/52004981/karate-framework-language-support

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!