Software Testing and Quality Assurance

System Integration Testing Dr. Dao Nam Anh Faculty of Information Technology University of Technology and Management 1

Resources ► ► ► ►

► ►

Pressman, Software Engineering, McGraw Hill (chapter 18 & 19) Sommerville, Software Engineering, Addison-Wesley (chapter 22 & 23) Software Testing and QA Theory and Practics, Chapter 7, WILEY Publish Foundations Of Software Testing, Istqb Certification, Dorothy Graham, Erik Van Veenendaal, Isabel Evans, Rex Black Jovanović, Irena, Software Testing Methods and Techniques Lâm Quang Vũ, http://www.softwaretestingmentor.com 2

Nội dung ► System

Integration Testing Kiểm thử tích hợp ► Incremental ► Top-down ► Bottom-up ► Big Bang ► Sanwich 3

System Integration Testing Kiểm thử tích hợp: ► Ghép

dần các module với nhau ► Đảm bảo các module kiên kết với nhau theo yêu cầu

4

System Integration Testing Kiểm thử tích hợp: Kiểm thử tích hợp các unit • Người tiến hành: người lập trình, người thiết kế... • Các unit được thêm vào theo một trong 2 chiến lược top-down hoặc bottom-up • Mục đích:  Kiểm tra giao diện giữa các unit  Kiểm tra tính đúng đắn so với đặc tả  Kiểm tra tính hiệu quả • Thường sử dụng kiểm thử chức năng • Được lập tài liệu

5

System Integration Testing Các loại kỹ thuật: ► Incremental ► Top-down ► Bottom-up ► Big

Bang ► Sanwich

6

System Integration Testing Stubs and Drivers:

7

System Integration Testing Incremental:

► Bắt

đầu test từ một nhóm nhỏ các module ► Tăng dần số lượng module liên kết trong test

8

System Integration Testing Incremental:

9

System Integration Testing Top-down: down 1.

Vẽ sơ đồ cấu trúc các module

Module A được test với module B, với các giá trị giả định của C và D 3. Test tiếp A-B-D, với giá trị giả định của C 2.

10

System Integration Testing Top-down: down Các mô đun mức trên được kiểm thử trước ► Các mô đun thuộc cấp được thay bằng bằng các mô đun tạm thời (stub function) ►

  

Có cùng tên với mô đun thật Có cùng giao diện Trả lại kết quả với một hoặc một vài bộ dữ liệu chuẩn 11

System Integration Testing Top-down: down 4.

A-B-D-C / E’F’G’

A - B - D - C - E / F’ G ’ 6. A-B-D-C-E-F / F’ 5.

12

System Integration Testing Top-down: down Ưu điểm: ► Phát hiện sớm các lỗi thiết kế (lỗi cấu trúc) ► Kiểm thử trên xuống kết hợp với phát triển trên xuống sẽ giúp phát hiện sớm các lỗi thiết kế và làm giảm giá thành sửa đổi ► Có phiên bản thực hiện được sớm  

Phiên bản thực hiện với các chức năng chính có sớm Có thể thẩm định tính dùng được của sản phẩm sớm

13

System Integration Testing Top-down: down Nhược điểm Nhiều mô đun cấp thấp rất khó mô phỏng - Thao tác với cấu trúc dữ liệu phức tạp - Trả lại kết quả phức tạp (con trỏ, ảnh, ...)

14

System Integration Testing Bottom-up: ► Các

mô đun cấp thấp được kiểm thử trước ► Mô đun mức trên được thay thế bằng mô đun điều khiển (test driver), có chức năng ►

► ►

► Thay

Gọi mô đun cần thử nghiệm

Truyền dữ liệu Hiển thị kết quả

thế dần các drive

15

System Integration Testing Bottom-up: E-F-G 2. E-F-G-C-B-D 1.

16

System Integration Testing Bottom-up: Ưu điểm ► Tránh xây dựng các mô đun tạm thời (stub) phức tạp ► Tránh sinh các kết quả nhân tạo (nhập từ bàn phím) ► Thuận tiện cho phát triển các mô đun để dùng lại Nhược điểm ► Chậm phát hiện các lỗi kiến trúc ► Chậm có phiên bản thực hiện 17

System Integration Testing Top down vs. Bottom up: ► Mỗi

chiến lược đều có ưu nhược điểm riêng ► Chiến lược kiểm thử phải phù hợp với chiến lược phát triển ►Phát

triển top-down = top-down testing ►Phát triển bottom-up = bottom-up testing ► Có

thể phối hợp các chiến lược: Sandwich testing

18

System Integration Testing Big-Bang : Đầu tiên tất cả các mô-đun cá nhân thử nghiệm 2. Tiếp theo, tất cả những mô-đun được đặt lại với nhau để xây dựng toàn bộ hệ thống, được thử nghiệm như một toàn bộ hệ thống 1.

19

System Integration Testing

Sandwich: ►



Trong phương pháp này, một hệ thống được tích hợp bằng cách kết hợp của từ trên xuống, từ dưới lên, và big-bang Một hệ thống thứ bậc được xem như là bao gồm ba lớ p 1. Cách tiếp cận từ dưới lên được áp dụng để tích hợp các mô-đun trong các lớp phía dưới 2. Các mô-đun lớp hàng đầu được tích hợp bằng cách sử dụng phương pháp tiếp cận từ trên xuống 3. Các lớp trung được tích hợp bằng big-bang sau khi phía trên và các lớp phía dưới đã được tích hợp 20

Q&A

21

SW Testing_08.pdf

Software Testing and Quality Assurance. System Integration Testing. Dr. Dao Nam Anh. Faculty of Information Technology. University of Technology and ...

266KB Sizes 6 Downloads 264 Views

Recommend Documents

sw-modelshow.pdf
Mar 18, 2017 - Haflinger. Page 3 of 287. sw-modelshow.pdf. sw-modelshow.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying sw-modelshow.pdf.

APAC-SW-Warranty.pdf
2.1 簡單的例子. Page 2 of 2. APAC-SW-Warranty.pdf. APAC-SW-Warranty.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying APAC-SW-Warranty.pdf.

APAC-SW-Warranty.pdf
... Enterprise Networks regional catalogue, “Product(s)” shall mean those. cable, connectors .... MONDIALE ENGINEERING SDN. BHD ... APAC-SW-Warranty.pdf.

SW FL - Corrected.pdf
Charlotte, Lee counties. 77.1%. Nancy Detert 28 Consists of Sarasota. county and part of. Charlotte county. 77.7%. Support for Amendment 1: Southwest Florida.

SW FL - Corrected.pdf
Matt Hudson 80 Hendry and part of. Collier. 71.1%. Ray Wesley. Rodrigues. 76 Part of Lee 80.6%. Page 1 of 1. SW FL - Corrected.pdf. SW FL - Corrected.pdf.

sw-112017-skillsheets.pdf
Riders reach speeds of 8 miles per second on the ArcelorMittal Orbit tower slide. ______ 2. Twists and turns help slow a person's descent on the slide. ______ 3. Moisture decreases friction on the slide. ______ 4. Air is blown up the slide every morn

Jav sw 321
Page 1 of 18. NewX-menGrant Morrison.Lucy 1080p public.10420519302 - Download Jav sw321.Diamond foxxworking overtimefor mrs foxx.This. examplefromthe Times shows the government trying to retain publicand moralsupport, by the President Bush - Another

SW Phrases List.pdf
150.the wet wood. Page 3 of 20. SW Phrases List.pdf. SW Phrases List.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying SW Phrases List.pdf.

peugeot 206 sw manual pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. peugeot 206 sw manual pdf. peugeot 206 sw manual pdf. Open.

CMMI - SW - V1.1 - Continuous Representation - Defense Technical ...
Nov 27, 2001 - Mellon University for the operation of the Software Engineering Institute, .... The Product Team writes, reviews, revises, discusses, and agrees on ..... organization's business objectives and mitigates the organization's areas of ...

SW Clasificacion General MEDIA MARATON.pdf
generando con ello confianza en el jugador. Page 3 of 5. SW Clasificacion General MEDIA MARATON.pdf. SW Clasificacion General MEDIA MARATON.pdf.

SW Ritual Magic System.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. SW Ritual Magic ...

CMMI - SW - V1.1 - Continuous Representation - Defense Technical ...
Nov 27, 2001 - CMM Integration, CMMI, SCAMPI, and IDEAL are service marks of Carnegie Mellon University. ... Software (SW-CMM) v2.0 draft C, (2) Electronic Industries Alliance ...... status accounting, and configuration audits. The work ...

SW – Instructional Outline
Instructional Outline. In addition to the subject matter ... Complete assignments related to interpretation and/or presentation of statistics and facts in a visual way.

SW Clasificacion Categorias CROSS.pdf
3 26 00:36:28:734 621 VELA BORDA, MARIA INDEPENDIENTE. 4 31 00:38:17:390 622 HERNANDEZ CASERO, VERONICA INDEPENDIENTE.

SW Clasificacion General CROSS.pdf
... JOSE ALAN M VTIM 1 C.D. HISPANIA. 2 00:26:31 598 LOPEZ MARTIN, JOSE JAVIER M SNRM 1 ATLETISMO TORREJONCILLO. 3 00:26:49 612 VEGA ...

Tenure Eligible SW Professor.pdf
North Carolina State University Department of Social Work invites applications for ... MSW and most recent, the dual JD/MSW degree with Campbell Law School. ... Final candidates are subject to criminal & sex offender background checks.

SW Clasificacion General MEDIA MARATON.pdf
25 01:27:40 32 GARCIA HERNANDEZ, MIGUEL M VTDM 2 ATLETAS VETERANOS SALAMANCA. 26 01:27:42 194 MORCILLO GARCIA, FRANCISCO LUIS M ...

SW - ETS - Help - TI-Nspire CX CAS Setup.pdf
Loading… Page 1. Whoops! There was a problem loading more pages. Main menu. Displaying SW - ETS - Help - TI-Nspire CX CAS Setup.pdf.

SW - ETS - Mac - free hard drive space.pdf
Page 1 of 1. How to check your hard drive's free space. 1. Go to the Apple Menu. 4. Review your hard drive's storage. If you need any help, please send an email ...

Dell Beijing, SW(App) Product Marketing Sr. Manager (Individual ...
There was a problem previewing this document. Retrying... Download ... Dell Beijing, SW(App) Product Marketing Sr. Manager (Individual Contributor) Tablet.pdf.

Kia ceed sw user manual pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Kia ceed sw ...