TAILIEUCHUNG - Lecture Software testing and analysis - Chapter 3: Basic principles

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. | Basic Principles c 2007 Mauro Pezze Michal Young Ch 3 slide 1 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 SOFTWARE TESTING AND ANALYSIS c 2007 Mauro Pezze Michal Young Ch 3 slide 3 Learning objectives Understand the basic principles undelying A T techniques Grasp the motivations and applicability of the main principles c 2007 Mauro Pezze Michal Young Ch 3 slide 2 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 Pezze 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 SOFTWARE TESTING ANDANALYSIS c 2007 Mauro Pezze Michal Young Ch 3 slide 5 Restriction making the problem easier Suitable restrictions can reduce hard unsolvable problems to simpler solvable problems - A weaker spec may be easier to check it is impossible in general to show that pointers are used correctly but the simple Java requirement that .

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.