开发者

Running Dojo DOH tests within mstest

开发者 https://www.devze.com 2023-03-13 17:41 出处:网络
I\'m required to run dojo DOH tests within a MSTest framework.So far I haven\'t found any useful links 开发者_开发知识库except one from Stephen Walter.A requirement is to avoid loading the test into j

I'm required to run dojo DOH tests within a MSTest framework. So far I haven't found any useful links 开发者_开发知识库except one from Stephen Walter. A requirement is to avoid loading the test into jscript; for some tests I need to run within a browser instance I'm guessing.

Any advice would be appreciated


I don't think I understand the question enough, but if you don't want to write the tests in the javascript you are testing, its possible to use initRobot() from the dijit.robotx robot. This will let you keep the test code in a separate file. Check out this page from the dojo toolkit reference guide - scroll down to the Separating Robot Test Code From Application Code section.

Or is the problem that you don't want to use the browser to run the tests in the first place?

0

精彩评论

暂无评论...
验证码 换一张
取 消