Intern
文章平均质量分 57
roeshy
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
intern/dojo/node!leadfoot/Command封装
Command.prototype.functionName = function() { return new this.constructor(this, function() { return this.parent .sleep(5000) }); };构造函数外执行命令,会优先执行命令,Function步伐未跟上:服务功能...服务范围界面筛选界面..原创 2016-04-13 11:45:47 · 285 阅读 · 0 评论 -
intern+git+jenkins持续
安装jenkins出现:service jenkins failed to start,需重装jenkins。安装jenkins可选插件出现:可用插件的列表为空,需点击“高级”页右下角“立即获取” 。安装Git plugin和GitHub plugin插件。Git installations 一栏添加本机的git.exe的路径。构建一个自由风格的软件项目。"源码管理原创 2016-04-13 00:02:40 · 270 阅读 · 0 评论 -
The Object interface&The QUnit interface
require:'intern!object','intern/chai!assert','intern!qunit','intern/chai!expect',function:qunit.module('Suite name');qunit.test('Test foo', function (assert) { assert.expect(原创 2016-04-13 16:38:19 · 260 阅读 · 0 评论 -
Skipping tests at runtime
测试都可使用skip method.if (typeof window === 'undefined') { this.skip('window is not defined'); }TypeError: Object # has no method 'skip',不支持this.parent.skip method.if (typeof window原创 2016-04-13 17:12:06 · 325 阅读 · 0 评论 -
The TDD & BDD interfaces
require:'intern/chai!expect','intern!bdd','intern!tdd',function:bdd.describe('WE LoginView Controller', function() {bdd.it('WE should not have an edited Todo on start', function() {e原创 2016-04-13 17:25:00 · 362 阅读 · 0 评论 -
The test lifecycle
每一个已注册的根用例:The setup method of the suite is called, if it existsFor each test within the suite:The beforeEach method of the suite is called, if it existsThe test function is calledThe af原创 2016-04-13 17:31:01 · 285 阅读 · 0 评论 -
reporters: [ 'Pretty'],
测试结束后,结果列表将会排序输出。✓ Suite name - Test foo✓ utils - uuid✓ utils - tmp~ utils - store: Browser-only test && localStorage|window is not defined× utils - pluralizeAssertionError: Word should be原创 2016-04-13 18:38:47 · 229 阅读 · 0 评论
分享