Unit Testing Chrome Extensions?
This question already has an answer here:
If you are asking about unit testing, it will be same as any other javascript code. Remember unit tests should be as small as possible and they shouldn't touch (they can mock) any external API. If you are asking about integration testing, than its a different matter.
链接地址: http://www.djcxy.com/p/91118.html上一篇: 如何刷新/重新加载Chrome扩展程序?
下一篇: 单元测试Chrome扩展?