- Scala Test-Driven Development
- Gaurav Sood
- 143字
- 2021-07-08 10:44:58
Testing frameworks
A testing framework is used for the automated testing of software. It is primarily a collection of postulations, perceptions, and observations which support automated testing of application code. Testing frameworks are not limited to just unit testing, they can very well be used for integration, smoke, and acceptance testing. There are two main frameworks for testing application code written in Scala: ScalaTest and Specs2. Both are equally easy to use and the choice of one over the other will depend on your testing approach. For example, ScalaTest uses the JUnit like testing structure, whereas the Specs2 test by itself is not prosaic but cleaves more closely to an immutability ideal.
ScalaTest is arguably more popular as it makes a transition from JUnit easier. For this reason, we will start with ScalaTest and in later chapters we will compare them both.
- 流量的秘密:Google Analytics網站分析與優化技巧(第2版)
- 小程序實戰視頻課:微信小程序開發全案精講
- Python自動化運維快速入門(第2版)
- BeagleBone Media Center
- Python零基礎快樂學習之旅(K12實戰訓練)
- 精通API架構:設計、運維與演進
- Oracle BAM 11gR1 Handbook
- 從Java到Web程序設計教程
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- 速學Python:程序設計從入門到進階
- HTML5開發精要與實例詳解
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- 前端架構設計
- 你必須知道的.NET(第2版)
- Apache Solr for Indexing Data