- Learning Behavior:driven Development with JavaScript
- Enrique Amodeo
- 219字
- 2021-07-23 20:52:31
Preface
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 with which to write server-side applications. In this context, JavaScript systems are no longer toy applications, and their complexity has grown exponentially. To create complex applications that behave correctly, it is almost mandatory to cover these systems with an automated test suite. This is especially true in JavaScript because it does not have a compiler to help developers. Unfortunately, it is easy to fall into testing pitfalls that will make your test suite brittle; hard to maintain, and sooner or later, they will become another headache instead of a solution. Using behavior-driven development and some common testing patterns and best practices, you will be able to avoid these traps.
A lot of people see the whole TDD/BDD approach as a black-and-white decision. Either you do not do it, or you try to achieve a hundred percent test coverage. The real world calls for a more pragmatic approach: write the tests that really pay off and do not write those that do not give you much value. To be able to take this kind of decision, a good knowledge of BDD and the costs associated with it is needed.
- Vue.js設計與實現
- The DevOps 2.3 Toolkit
- Visual Studio 2012 Cookbook
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(入門與提高篇)
- Salesforce Reporting and Dashboards
- Advanced Express Web Application Development
- Django實戰:Python Web典型模塊與項目開發
- Anaconda數據科學實戰
- Photoshop智能手機APP界面設計
- Hands-On Robotics Programming with C++
- Android 游戲開發大全(第二版)
- 軟件測試技術
- Python Automation Cookbook
- SQL Server 2008實用教程(第3版)
- C/C++代碼調試的藝術