首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > rhinounit

rhinounit

  • 资源大小:0.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This works similarly to other nUnit testing frameworks, though somewhat customized for javascript. It is exceedingly small, but also surprisingly powerful. Go to HowToWriteAndRunTests to learn how to use this framework. Ant Based Javascript Testing Framework In its original form RhinoUnit is run from an ANT scriptdef task using the Rhino engine - and uses all the helpful things that ANT provides for that. It is intended, however, that in the future the framework can be reused in other forms. Unit Testing Javascript It will do all the normal tests * string and object comparisons * regexp comparisons * collection comparisons (contains, containsExactly, etc) And does them in a more natural form. For example assert.that("string", not(matches(/somethingelse/))); checks that the string "string" doesn"t match the regular expression /somethingelse/. Advanced Tests RhinoUnit provid

文 件 列 表

rhinounit_1_2_1
build.xml
example
jslint
src
test
VIP VIP
0.181038s