說到測試,相信大家都或多或少了解。
按照各自分類,就自己知道包括
A.單元測試、集成測試、系統測試
B.白盒測試、黑盒測試
C.壓力測試、性能測試、安全測試
......
反正是太多太多。就做開發以來,就只有自測和交叉測試,基本都是按照需求測試是否實現了相關的業務和什么提示信息、文本長度等細節問題,如果有專門測試人員撰寫的用例就也跑一次,然后就是亂點看看有什么異常,然后就交給測試人員測試。
基本都是業務邏輯測試,沒有做過單元測試。為了在經濟或在技術上進行突破,所以在努力學習各種技術。查看智聯招聘上看的招聘信息和閱讀園子里面的前輩的文章顯示,要想有提升還得懂單元測試才行。
最開始聽說JUnit(官網http://www.junit.org/),直接百度百科由此知道:
What Is NUnit?
NUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 2.6, is the seventh major release of this xUnit based unit testing tool for Microsoft .NET. It is written entirely in C# and has been completely redesigned to take advantage of many .NET language features, for example custom attributes and other reflection related capabilities. NUnit brings xUnit to all .NET languages.
最后,NUnit已經到2.6.2版本了。雖然來的遲了點,但是為時未晚。
開始我的NUnit之旅。
后面會陸續揭曉學習心得。