Javascript测试框架类似于dojo DOH [英] Javascript Testing framework similar to dojo DOH

查看:140
本文介绍了Javascript测试框架类似于dojo DOH的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有类似于 dojo DOH 的JavaScript框架? / p>

我正在寻找基于浏览器的测试框架,如dojo DOH,它为浏览器和JS运行时环境提供支持。



简单来说,我正在寻找:


一个简单的基于浏览器的图形前端和转轮文件。 p>

为什么我正在寻找其他测试单位而不是dojo DOH?



Dojo DOH带有完整的DOJO包,所以如果我在dojo中开发一个应用程序,那么很好使用dojo DOH。假设我在其他框架(如角度,骨干等)中开发应用程序。



然后只有测试应用程序,我必须在我的应用程序中添加完整的dojo包。 (如果我错了,请更正我,这个假设是根据我在dojo上的经验做出的)



请指导我,如果有可能使用dojo DOH测试应用程序没有添加完整的dojo包。



谢谢帮助!!

解决方案

SitePen用 Intern 替换 DOH 。实习生是针对Dojo框架而定制的,但不是特定的。您可以使用它来测试任何JS框架的应用程序。请注意,我还没有使用过。



另外,我工作的SE建筑师最近从一个会议回来,爱上了茉莉花,所以你可以看看它。他们似乎是完全不同的测试方法,所以拿一个gander,决定你自己的口味在哪里。


Is there any framework in javascript similar to dojo DOH?

I am looking for testing framework which is browser-based like dojo DOH, it provide support for both browsers and JS runtime environment.

In simple words, I am looking for:

A simple browser-based graphical front end and runner file.

Why I am looking for other Testing unit instead of dojo DOH?

Dojo DOH come with complete package of DOJO, so if I develop an application in dojo then it good to use dojo DOH. Suppose I develop an application in other frameworks like Angular, Backbone etc.

Then only to test application I have to add complete dojo package with my application. (Please correct me if I am wrong, this assumption was made as per my experience on dojo)

Please guide me, if there is a possibility to test application using dojo DOH without adding complete dojo package.

Thanks Help!!

解决方案

SitePen replaced DOH with Intern. Intern is well-tailored-for but not-specific-to the Dojo Framework. You can test any JS framework'd app with it. Note, though, I haven't used either.

Aside, an SE Architect I work with came back recently from a conference in love with Jasmine, so you may look at it. They seem to be completely different approaches to testing, so take a gander and decide for yourself where your tastes lie.

这篇关于Javascript测试框架类似于dojo DOH的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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