TAILIEUCHUNG - Lecture Software testing and analysis: Chapter 3 - Mauro Pezzè, Michal Young

This chapter advocates six principles that characterize various approaches and techniques for analysis and testing: sensitivity, redundancy, restriction, partition, visibility, and feedback. Some of these principles, such as partition, visibility, and feedback, are quite general in engineering. Others, notably sensitivity, redundancy, and restriction, are specific to A&T and contribute to characterizing A&T as a discipline. | Basic Principles (c) 2007 Mauro Pezzè & Michal Young Ch 3, slide 1 Learning objectives • Understand the basic principles undelying A&T techniques • Grasp the motivations and applicability of the main principles (c) 2007 Mauro Pezzè & Michal Young Ch 3, slide 2 Main A&T Principles • General engineering principles: – Partition: divide and conquer – Visibility: making information accessible – Feedback: tuning the development process • Specific A&T principles: – Sensitivity: better to fail every time than sometimes – Redundancy: making intentions explicit – Restriction: making the problem easier (c) 2007 Mauro Pezzè & Michal Young Ch 3, slide 3 Sensitivity: better to fail every time than sometimes • Consistency helps: – a test selection criterion works better if every selected test provides the same result, ., if the program fails with one of the selected tests, it fails with all of them (reliable criteria) – run time deadlock analysis works better if it is machine independent, ., if the program deadlocks when analyzed on one machine, it deadlocks on every machine (c) 2007 Mauro Pezzè & Michal Young Ch 3, slide 4 Redundancy: making intentions explicit • Redundant checks can increase the capabilities of catching specific faults early or more efficiently. – Static type checking is redundant with respect to dynamic type checking, but it can reveal many type mismatches earlier and more efficiently. – Validation of requirement specifications is redundant with respect to validation of the final software, but can reveal errors earlier and more efficiently. – Testing and proof of properties are redundant, but are often used together to increase confidence (c) 2007 Mauro Pezzè & Michal Young Ch 3, slide .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.