原创 ruby 學習筆記(六) Blocks

A method can then invoke an associated block one or more time using the Ruby yield statement. Thus any method that want

原创 ruby 學習筆記(一)

Difference between or and || operator.                Both or and || return their first argument unless it isfalse, in

原创 iisreset 和 recycle application pool

iisreset: 當使用命令 iisreset時,IIS的 Admin Service,WAS 和 WWW Service都會先停止再啓動。這就意味着Web服務器上所有的站點和應用都會重啓,那麼應用中所有存在的狀態都會丟失。所以除非在不

原创 ruby 學習筆記(二)

Variables                 Variables in Ruby can contain data of any type. You can use variables in your Ruby programswi

原创 價值驅動下的敏捷測試也應該保持測試的嚴謹性

在敏捷項目中,我們經常聽到 “價值” 這個詞,我們圍繞“價值”制定原則,圍繞價值進行開發和測試。在敏捷測試中就有一條非常重要的原則“使業務價值最優化”。然而在這種業務價值驅動的測試中,我們往往把非核心業務價值等同於“不重要”,從而喪失了測

原创 ruby 學習筆記(四) String

Listing all methods of a class or object String.methods.sort shows you a list of methods that the Class object String r

原创 Automating Website Creation with PowerShell v3

by Terri I stumbled across a PowerShell script that creates a website, populates it with default text page, and launche