讲解了TDD与BDD,TDD的基本原则,单元测试常用框架及使用,例如assert断言库, chai断言库, should.js断言库,断言库搭配测试框架(mocha测试框架)等。
以koa2为例,讲解了autocannon压力测试工具的使用,基于V8 Profiler的运行Profiler性能文件与分析。