- 博客(12)
- 收藏
- 关注
原创 reporters: [ 'Pretty'],
测试结束后,结果列表将会排序输出。 ✓ Suite name - Test foo ✓ utils - uuid ✓ utils - tmp ~ utils - store: Browser-only test && localStorage|window is not defined × utils - pluralize AssertionError: Word should be
2016-04-13 18:38:47 187
原创 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 239
原创 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 318
原创 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 267
原创 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 227
原创 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 253
原创 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 228
原创 CRUD
第一步:在openfund工程下建立包edu.fzu.openfund.utils。在edu.fzu.openfund.utils包下新建类DBUtils,实现getConn和releaseResource方法。 第二步:在openfund工程下建立包edu.fzu.openfund.dao。在edu.fzu.openfund.dao下新建接口ClientDao、新建类ClientDaoJDBC
2015-12-04 22:01:00 289
原创 Filter
第一步:导入login.jsp和logfail.jsp。 第二步:在edu.fzu.openfund.dao包中导入AdminDao.java,实现AdminDao接口。 第三步:在edu.fzu.openfund.service包中导入AdminService.java,实现AdminService接口。 第四步:实现AdminMgrServlet。 第五步:在web.xml里检
2015-12-03 22:06:39 204
原创 JSP+servlet+JavaBean
第一步:在openfund工程下建立包edu.fzu.openfund.utils。在edu.fzu.openfund.utils包下新建类DBUtils,实现getConn和releaseResource方法。 public class DBUtils { private static final String CONN_URL = "jdbc:mysql://localhost:33
2015-12-02 20:50:57 266
原创 Servlet开发
第二步:在edu.fzu.openfund.domain包下新建类Client。 public class Client { private String IDCardNO; // 客户身份证号 private String clientName; // 客户姓名 private String clientSex; // 客户性别 private Stri
2015-12-01 20:52:38 228
原创 JavaEE开发环境的配置运行
第一步:建立一个新的web project,名为openfund。 第二步:新建一个index.jsp页面。 <% String path = request.getContextPath(); String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerP
2015-11-30 22:57:10 674
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人