Mac OS X 配置指南

Mac OS X 配置指南

  • Docs
  • Blog

notes/test

Testing

this is not a test page, this is a page about everything relationg software testing.

The test pyramid

  • End-to-End(第一层)
  • Integration tests(第二层)
  • Unit tests(第三层)

或者

UI -> Service -> Unit

这样的

Using sinonjs to test.

Using mocha to test node.js

$ npm install -save-dev mocha

从 promise 到 async/await 的测试的编写

http://staxmanade.com/2015/11/testing-asyncronous-code-with-mochajs-and-es7-async-await/

cheatsheet

interactivly using mocha

$ mocha --inspect-brk

在 Chrome 里打开 about:inspect

Last updated on 2019-1-8 by wild-flame
  • Using sinonjs to test.
  • Using mocha to test node.js
  • 从 promise 到 async/await 的测试的编写
    • cheatsheet
Docs
Mac OS 配置指南 | Mac OS Setup Guide乱七八糟的笔记
Projects
Leetcode solutionsJekyll simple猪瘟疫情可视化
More
BlogGitHub
Copyright © 2019 wild-flame