原创 testng+spring整合
package com.sun.base; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.co
原创 讀取excel 頭
public class ExcelProviderByEnv implements Iterator<Object[]> {private fin
原创 一個web頁面的訪問的過程
Browers是如何在浩瀚的互聯網上找到我們需要的資源呢? 以下將記錄這個過程,這個過程是web編程需要需要熟知的。 用戶打開瀏覽器輸入目標地址(比如http://www.sina.com),那麼接下來發生什麼事情呢?
原创 談自動化測試框架思想與構建
談自動化測試框架思想與構建 2011-06-03 17:06 散步的SUN 51Testing軟件測試博客 字號:T | T 自動化測試一般是指軟件測試的自動化,軟件測試就是在預設條件下運行系統或應用程序,評估運行結果,預
原创 讀取excel2
/*** 是否有下一行*/@Overridepublic boolean hasNext() {if (this.rowNum == 0 || this.curRowNo >= this.rowNum) {book.close();ret
原创 解決httpclient 4.5 https請求跳過證書驗證
public class SslUtil { public static CloseableHttpClient SslHttpClientBuild() { Registry<ConnectionSocketFactory>
原创 spring、mybatis整合核心配置文件applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:
原创 mybatis配置文件常用語法mapper.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://myb
原创 testng測試報告相關pom文件
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://ww
原创 spring、hibernate整合核心配置文件applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans"
原创 pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://ww
原创 gradle多項目聚合的build.gradle
allprojects{ group 'com.sun' version '1.0-SNAPSHOT' apply plugin:'maven-publish' apply plugin: 'java'
原创 ReporterInfo
public class ReporterInfo { private static void logInfo(String msg, Object message) { String log = "<" + msg + ">==>
原创 HttpClientUtil2
public class HttpRequest { private String url; private HttpRequestBase httpRequestBase; private Map<String,String> h
原创 schema
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="htt