因为用的是react组件,所以就用react相关的ui测试工具
jsp官网;
https://github.com/airbnb/enzyme浅渲染,
https://www.npmjs.com/package/selenium-webdriver 浏览器测试
https://seleniumhq.github.io/selenium/docs/api/javascript/index.html 浏览器插件
因为用的是react组件,所以就用react相关的ui测试工具
jsp官网;
https://github.com/airbnb/enzyme浅渲染,
https://www.npmjs.com/package/selenium-webdriver 浏览器测试
https://seleniumhq.github.io/selenium/docs/api/javascript/index.html 浏览器插件