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
Kỹ thuật lập trình
Lecture Programming principles and practice using C++: Chapter 26 - Bjarne Stroustrup
tailieunhanh - Lecture Programming principles and practice using C++: Chapter 26 - Bjarne Stroustrup
This lecture is an introduction to the design and testing of program units (such as functions and classes) for correctness. We discuss the use of interfaces and the selection of tests to run against them. This chapter emphasize the importance of designing systems to simplify testing and testing from the start. Proving programs correct and performance problems are also briefly considered. | Chapter 26 Testing Bjarne Stroustrup Abstract This lecture is an introduction to the design and testing of program units (such as functions and classes) for correctness. We discuss the use of interfaces and the selection of tests to run against them. We emphasize the importance of designing systems to simplify testing and testing from the start. Proving programs correct and performance problems are also briefly considered. Stroustrup/Programming Overview Correctness, proofs, and testing Dependencies System tests Testing GUIs Resource management Unit and system tests Finding assumptions that do not hold Design for testing Performance Stroustrup/Programming Correctness Questions to ask about a program Is your program correct? What makes you think so? How sure are you? Why? Would you fly in a plane that depended on that code? You have to be able to reason about your code to have any real certainty Programming is generally unsystematic . | Chapter 26 Testing Bjarne Stroustrup Abstract This lecture is an introduction to the design and testing of program units (such as functions and classes) for correctness. We discuss the use of interfaces and the selection of tests to run against them. We emphasize the importance of designing systems to simplify testing and testing from the start. Proving programs correct and performance problems are also briefly considered. Stroustrup/Programming Overview Correctness, proofs, and testing Dependencies System tests Testing GUIs Resource management Unit and system tests Finding assumptions that do not hold Design for testing Performance Stroustrup/Programming Correctness Questions to ask about a program Is your program correct? What makes you think so? How sure are you? Why? Would you fly in a plane that depended on that code? You have to be able to reason about your code to have any real certainty Programming is generally unsystematic Debugging is generally unsystematic What are you willing to bet that you found the last bug? Related interesting questions Could the program run forever if the hardware didn’t fail? Does it always deliver its results in a reasonable time? Stroustrup/Programming Proofs So why not just prove mathematically that our program is correct? It’s often too hard and/or takes too long Sometimes proofs are wrong too (even proofs produced by computers or by experts!). Computer arithmetic isn’t the same as “real” math—remember the rounding and overflow errors we saw (due to finite and limited precision)? So we do what we can: follow good design principles, test, test, and then test some more! Stroustrup/Programming Testing “A systematic way to search for errors” Real testers use a lot of tools Unit test frameworks Static code analysis tools Fault injection tools When done well, testing is a highly skilled and most valuable activity “Test early and often” Whenever you write a function
Thảo Hương
70
27
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
Principles of Programming Languages
166
128
0
Lecture Programming principles and practice using C++: Chapter 25 - Bjarne Stroustrup
36
83
0
Lecture Programming principles and practice using C++: Chapter 27 - Bjarne Stroustrup
44
117
0
Lecture Programming principles and practice using C++: Chapter 1, 2 - Bjarne Stroustrup
32
91
0
Lecture Programming principles and practice using C++: Chapter 7 - Bjarne Stroustrup
31
63
0
Lecture Programming principles and practice using C++: Chapter 8 - Bjarne Stroustrup
33
69
0
Lecture Programming principles and practice using C++: Chapter 9 - Bjarne Stroustrup
31
66
0
Lecture Programming principles and practice using C++: Chapter 10 - Bjarne Stroustrup
35
63
0
Lecture Programming principles and practice using C++: Chapter 11 - Bjarne Stroustrup
28
57
0
Lecture Programming principles and practice using C++: Chapter 12 - Bjarne Stroustrup
45
69
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461867
55
Giới thiệu :Lập trình mã nguồn mở
14
22643
59
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10892
529
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10066
446
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9519
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8281
1125
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8238
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7864
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6687
253
Vật lý hạt cơ bản (1)
29
5770
85
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Programming principles
Programming C++
Practical C++ programming
Programming languages
Testing GUIs
Design for testing
programming experience
code programming
programming languages
computer programming
design tips
programming documentation
programming skills
the Ruby programming document
methods Ruby programming language
Embedded systems programming
Embedded systems
The C programming language
C++ interoperability
Programming hard
Completing a program
Token streams
Language technicalities
Header files
Operator overloading
Output streams
Input streams
Numeric output
Customizing I O
Graphics model
Display model
Graphics classes
Interface classes
Graph class design
Class shape
Graphing functions
Classes defined
Graphical user interfaces
Layers of software
Vector revisited
Free store
Copy semantics
Representing vector
Pointer problems
Parameterization of algorithms
Associative containers
Standard algorithms
Software ideals
Language designers
Text processing
Application domains
Random numbers
Complex numbers
String I O
Integer I O
Language constructs
Language features
TÀI LIỆU MỚI ĐĂNG
Magnetic Bearings Theory and Applications phần 2
14
172
0
27-04-2024
MySQL Database Usage & Administration PHẦN 7
37
156
0
27-04-2024
MÔN HỌC VẬT LIỆU VÀ CÔNG NGHỆ KIM LOẠI - PHẦN I: KIM LOẠI HỌC
32
176
2
27-04-2024
Truyện kiếm hiệp - Duy ngã độc tôn phần 5/7
1
92
0
27-04-2024
Chương 10: Các phương pháp tính quá trình quá độ trong mạch điện tuyến tính
57
178
4
27-04-2024
ĐỀ THI THỬ ĐH NĂM 2011 MÔN VẬT LÍ _ ĐỀ SỐ 101
7
84
0
27-04-2024
Tổng hợp Đề thi học sinh giỏi môn Sinh lớp 9 cấp huyện vòng 1 năm 2010-2011
12
177
1
27-04-2024
Concluding interview 6
6
86
0
27-04-2024
BÀI GIẢNG Biến Đổi Năng Lượng Điện Cơ - TS. Hồ Phạm Huy
137
92
0
27-04-2024
ĐỀ ÔN TẬP THI ĐH & CĐ NĂM 2011 MÔN VẬT LÍ
6
90
0
27-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7864
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5736
1368
Ebook Chào con ba mẹ đã sẵn sàng
112
3767
1231
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5319
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8281
1125
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3499
643
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10892
529
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3684
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4046
515
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4128
480
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.