2 Star 0 Fork 0

mirrors_jsantell / 2013.cascadiajs.com

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
remote-testing-javascript-heavy-websites-with-grunt-and-casperjs.md 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
Keith Bingman 提交于 2013-08-14 23:23 . changed the dot in casper.js

Remote Testing Websites with Grunt and Casper.js

Abstract

Testing javascript applications has become more important than ever as the complexity and requirements of web applications grow. But not all application development environments lend themselves to easy testing. In particular, websites, as opposed to web applications, have been long ignored in the testing world.

Mobify's unique client-side rendering requires a novel approach to properly test and maintain. We rely on the customer's original website for data and completely rebuild the DOM on the client-side. Testing against idealized mock data is impractical and unwieldily. Instead, we have live data, which paints a far more accurate picture of the chaotic nature of the real world.

Recently, we have begun to rigorously test not only our web applications, but also our client sites using a combination of Casper.js and Grunt. These tools provide an easy and effective way of testing; not only javascript, but the HTML elements themselves and even CSS.

Bio

kbingman

Originally from Seattle and freshly moved to Vancouver via a 15 stint in Southern Germany, I am a photographer turned Ruby on Rails developer turned Front End Javascript Developer. I am currently working at Mobify, building both customer websites and single-page applications for our Product Team.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jsantell/mirrors_jsantell_2013.cascadiajs.com.git
git@gitee.com:mirrors_jsantell/mirrors_jsantell_2013.cascadiajs.com.git
mirrors_jsantell
mirrors_jsantell_2013.cascadiajs.com
2013.cascadiajs.com
master

搜索帮助