development:testing:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
development:testing:start [2017/06/25 17:19] don.leedevelopment:testing:start [2021/03/14 19:00] (current) – removed don.lee
Line 1: Line 1:
-====== List of common use testing tools ====== 
  
-===== Bad Testing Practice ===== 
- 
-  * http://www.objc.io/issue-15/bad-testing-practices.html 
- 
-==== Glossary ==== 
- 
-^ Method Stub | http://en.wikipedia.org/wiki/Method_stub |  | 
-^ Mock Object | http://en.wikipedia.org/wiki/Mock_object | e.g. database | 
-^ Test Double | http://en.wikipedia.org/wiki/Test_double | e.g. simplify the complexity of external function| 
- 
- 
- 
-===== node.js TDD ===== 
- 
-https://blog.risingstack.com/getting-node-js-testing-and-tdd-right-node-js-at-scale/ 
- 
-Node modules (via command "npm install -g module-name") 
- 
-  * Test Runner: [[development:testing:mocha:|Mocha]] 
-  * Assertions: [[http://chaijs.com|Chai]] 
-    * Read the [[http://chaijs.com/guide/styles/#expect|Expect]] guide 
-  * Stubs/Mocks: [[http://sinonjs.org|Sinon]] 
-  * Utilities:  
-    * [[https://github.com/domenic/sinon-chai|Sinon-Chai]] 
-    * [[https://github.com/domenic/chai-as-promised|Chai-As-Promised]] 
- 
-==== Setup ==== 
- 
-Edit project package.json 
-<code> 
-"devDependencies": { 
-  "mocha": "*", 
-  "chai": "*", 
-  "sinon": "*", 
-  "sinon-chai": "*", 
-  "chai-as-promised": "*" 
-} 
-</code> 
- 
-Install the plugins 
-<code> 
-# npm install 
-</code> 
- 
- 
-===== Frontend Testing ===== 
- 
-  * Chrome Developer Tools 
-  * [[http://pivotal.github.io/jasmine/|Jasmine]] 
-  * [[development:testing:mocha:|Mocha]] 
  • development/testing/start.1498382395.txt.gz
  • Last modified: 2017/06/25 17:19
  • by don.lee