自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 178

原创 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 235

原创 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 310

原创 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 260

原创 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 217

原创 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 242

原创 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 218

原创 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 279

原创 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 196

原创 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 257

原创 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 221

原创 JavaEE开发环境的配置运行

第一步:建立一个新的web project,名为openfund。 第二步:新建一个index.jsp页面。 <% String path = request.getContextPath(); String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerP

2015-11-30 22:57:10 666

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除