空手道框架语言支持 [英] karate Framework language support

查看:55
本文介绍了空手道框架语言支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用KARATE框架编写C#实用程序?

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

我已经编写了用于使用Java自动化API的实用程序函数,但是现在我想用C#编写实用程序函数,有没有办法做到这一点?

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?

推荐答案

空手道实际上是语言中立的,并且使用 Gherkin ,但具有一些自定义语法和混合纯JavaScript的选项.在与空手道打交道时,团队通常不必担心Java或.NET,因为您正在测试HTTP层.

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.

也许您可能会对将空手道作为独立二进制文件运行的新功能感兴趣: https://github.com/intuit/karate/tree/master/karate-netty#standalone-jar

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

最后,您确实想要通过命令行调用.NET中编写的内容,请参考以下答案: https: //stackoverflow.com/a/51150286/143475 -也许您正在寻找的是反向".

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.

这篇关于空手道框架语言支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆