-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第一节课问题收集 #4
Comments
mocha和karma有啥区别,是一起搭配使用吗? |
1.测试是每个方法都需要写测试用例吗? |
1.在react中,测试react组件时,往往会用到enzyme库中mount来渲染组件,测到当前父组件和子组件的交互,或者和原生dom元素的交互,这种测试还算单元测试吗? |
本来这个问题提在第二课问题里面了,就想更深入的学习一下多态!希望老师可以讲解一下 |
针对业务场景的方法是否有必要写单元测试?如果可以,怎么更好的面对变化的业务需求编写灵活的测试用例。 |
测试工具结合React或者Vue这样的框架要怎么使用呢? |
在《你不知道的JavaScript》一书中写到:使用prototype去实现面向对象的方式是对JavaScript的一种误解与错误使用。es6中推出class的写法也只是实现的一种语法糖,并不是真正理解JavaScript的一种方式。 |
老师 可以演示一下测试的调试过程吗,mocha和karma怎么调试,打断点 |
mocha为什么不是从上到下按顺序执行,练习4 为什么43行先报错,第8行后报错 |
老师,同上问mocha执行的时候可以在terminal里输出值么?
|
RT
The text was updated successfully, but these errors were encountered: