跳到主要內容

發表文章

目前顯示的是有「Software」標籤的文章

automation testing

我覺得 想想自動化測試-開始(一) 的論點很不錯.... 原則 1: 針對重點業務,進行回歸的自動化測試 原則 2 :針對穩定的業務(或接口),在環境比較穩定的情況,前期投入腳本開發,有利於減少後期維護成本 原則 3 :自動化測試主要是為了保證主要功能完整可用,而不是為了多發現缺陷 原則 4 :自動化測試並不能減少測試的人力成本,而是為了加快測試反饋,提升測試質量 原則 5 :不要對錄制回放抱有幻想了,可視化也不是一個好的想法 原則 6: 開發參與自動化測試,讓開發和測試融合在一起 什麼都想做,就什麼都做不好。 確保主功能沒問題,就可以釋放出人力在其他事情上, 也可以控制意外的損害範圍… 千萬不要期待 automation 可以發現新問題…

iozone

tarball installation: wget http://www.iozone.org/src/current/iozone3_414.tar tar xvf iozone3_414.tar && cd iozone3_414/src/current && make linux (for x64 use linux-AMD64) -a  #auto mode will test below matrix: record size from 4k to 16M file size from 64k to 512M -g  #set maximum file size (in Kbytes) for auto mode (or #m or #g) 所以為了避免 linux 的 catch 機制,我們可以將要測試的檔案設定為記憶體的兩倍。 所以就是 iozone -a -g 8G (如果你的系統記憶體是 4G 的話) 其他模式的參數 -h 也可以看到,下面列有趣的....: -s # file size in Kb -i  # Test to run          0=write/rewrite,          1=read/re-read,          2=random-read/write          3=Read-backwards,          4=Re-write-record,          5=stride-read,          6=fwrite/re-fwrite          7=fread/Re-fread,         ...

chrome java plugin on windows 7 64 bit

Chrome and Firefox on windows 7 64 bit OS both are only support 32 bit application. Therefore, if you want to install java plugin in Firefox and Chrome, you need to install java jre 32 bit version instead of 64 bit. Another thing is if after jave jre installation, in java testing page, you still keep asking to install jave plugin, it might caused by some chrome plugins blocks the jave plugin installation. you can use "about:plugins" to disable some plugin or in extension page remove some extenstions.