Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Đồ họa - Thiết kế - Flash
Test Driven JavaScript Development- P4
Đang chuẩn bị liên kết để tải về tài liệu:
Test Driven JavaScript Development- P4
Quỳnh Nga
105
20
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Test Driven JavaScript Development- P4:This book is about programming JavaScript for the real world, using the techniques and workflow suggested by Test-Driven Development. It is about gaining confidence in your code through test coverage, and gaining the ability to fearlessly refactor and organically evolve your code base. It is about writing modular and testable code. It is about writing JavaScript that works in a wide variety of environments and that doesn’t get in your user’s way. | 3.5 Summary 53 Although we visited the topics of test coverage reports and continuous integration in this chapter no setup or examples were given for such tools. On the book s website1 you will find a guide to running the Coverage plugin for JsTestDriver as well as a guide on how to run JsTestDriver tests in the open source continuous integration server Hudson. In the next chapter we will have a look at some other ways to utilize unit tests before we move on to Part II JavaScript for Programmers. 1. http tddjs.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. From the Library of WoweBook.Com This page intentionally left blank Please purchase PDF Split-Merge on www.verypdf.com to remove this watermar From the Library of WoweBook.Com T tt T rn Test to Learn I n the previous three chapters we have seen how automated tests can help improve quality of code guide design and drive development. In this chapter we will use automated tests to learn. As small executable code examples unit tests make a perfect learning resource. Isolating a specific aspect of an interface in a unit test is a great way to learn more about how it behaves. Other types of automated tests can help our understanding of both the language and specific problems. Benchmarks are a valuable tool to measure relative performance and can guide decisions about how to solve a specific problem. 4.1 Exploring JavaScript with Unit Tests Quickly executing JavaScript as in executing a few lines of script to explore the behavior of some object is fairly simple. Most modern browsers ship with a console that serves this purpose just fine. Additionally there are several options for JavaScript command line interfaces when the browser environment is not of particular interest. Although this sort of one-off coding session can help our understanding of an interface it suffers from the same problems that manual application testing does. There is no way to repeat a given experiment there is no
TÀI LIỆU LIÊN QUAN
Test-Driven JavaScript Development
Test Driven JavaScript Development- P1
Test Driven JavaScript Development- P2
Test Driven JavaScript Development- P3
Test Driven JavaScript Development- P4
Test Driven JavaScript Development- P5
Test Driven JavaScript Development- P6
Test Driven JavaScript Development- P7
Test Driven JavaScript Development- P8
Test Driven JavaScript Development- P9
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.