问题描述
我已经开始使用Firefox的selenium插件进行网络自动化测试.这是在C#中生成测试代码的一种方式,您可以使用MSTest而不是默认的NUnit来创建单元测试.没什么大不了的,但是对所有这些都知道会很有用.
I have started using the selenium plugin for firefox for web automated testing. Is their a way when you generate the code for the tests in C# you can get it to create unit tests using MSTest instead of NUnit, which is the default. Not a biggie, but would be useful to know all the same.
谢谢
推荐答案
目前,没有.格式化程序仅输出NUnit代码.但是,您可能想看一下这个博客, http://koenwillemse.wordpress.com/2011/02/16/custom-c-formatter-for-selenium/,它将使用MSTest创建自定义格式化程序.
At this time, no. The formatter only outputs NUnit code. However you may want to take a look at this blog, http://koenwillemse.wordpress.com/2011/02/16/custom-c-formatter-for-selenium/, which creates a custom formatter using MSTest.
这篇关于Selenium IDE可以在C#中为MSTest生成测试吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!