本站提供 8500 多本免费的 IT 技术电子书在线下载。
  1. 文章总数:8391
  2. 浏览总数:1,039,590
  3. 评论:0
  4. 分类目录:125 个
  5. 注册用户数:31
  6. 最后更新:2020年2月29日
过往记忆博客公共帐号iteblog_hadoop
欢迎关注微信公共帐号:
iteblog_hadoop

Learning Behavior-driven Development with JavaScript

Java iteblog 158℃ 0评论

子标题:Create powerful yet simple-to-code BDD test suites in JavaScript using the most popular tools in the community

Learning Behavior-driven Development with JavaScript
作者:
Enrique Amodeo
ISBN-10:
1784392642
出版年份:
2015
页数:
392
语言:
English
文件大小:
2.67 MB
文件格式:
PDF

图书描述

JavaScript is not only widely used to create attractive user interfaces for the Web, but with the advent of Node.js, it is also becoming a very popular and powerful language to write server-side applications. Using behavior-driven development and some common testing patterns and best practices, you will be able to avoid these traps.

This book will show you how to do BDD in a practical way. We will start with a basic introduction of what BDD is and why the classical approach to testing has failed. Afterwards, we will dive directly into an introduction to Node.js, Mocha, and Sinon.JS. Finally, we will cover more advanced subjects such as how to write a fast and effective test suite for a RESTful web API, and how to do the same with a rich UI using Cucumber.js and Protractor.

This book will give you great insight into how to architect your system to make it more testable and modular, but at the same time avoid the nightmare of abusing mock objects.

点击进入下载

喜欢 (0)or分享 (0)
发表我的评论
取消评论

表情
本博客评论系统带有自动识别垃圾评论功能,请写一些有意义的评论,谢谢!