13
06/27/22 The Realities of software Testing 1 Software testing Realities • What is the realities of software testing • Why does the software testing not complete • Bugs follow bugs • Why not fixed all bugs

Software testing Realities

Embed Size (px)

DESCRIPTION

Software testing Realities. What is the realities of software testing Why does the software testing not complete Bugs follow bugs Why not fixed all bugs. It’s impossible to test a program completely. There are the reasons below: The number of possible inputs is very large. - PowerPoint PPT Presentation

Citation preview

Page 1: Software testing Realities

04/20/23 The Realities of software Testing 1

Software testing Realities

• What is the realities of software testing

• Why does the software testing not complete

• Bugs follow bugs

• Why not fixed all bugs

Page 2: Software testing Realities

04/20/23 The Realities of software Testing 2

It’s impossible to test a program It’s impossible to test a program completelycompletely

• There are the reasons below:– The number of possible inputs is very large.– The number of possible outputs is very large.– The number of paths through the software is

very large.– The software specification is subjective.

Page 3: Software testing Realities

04/20/23 The Realities of software Testing 3

Software testing is a risk-bases Software testing is a risk-bases exerciseexercise

Every software project has an optimal test effort

Page 4: Software testing Realities

04/20/23 The Realities of software Testing 4

Testing can’t show that bugs don’t existTesting can’t show that bugs don’t exist

• Are there bugs in our software?

• Are there bugs in other software?

• Can you guarantee that there are no bugs to find?

Page 5: Software testing Realities

04/20/23 The Realities of software Testing 5

Bugs follow bugsBugs follow bugs

• Frequently: find one bug, then find other and more, Why?– Programmers have bad days

(เมื่��อ programmer เจ้�าของงานล้�มื่ป่�วย )– Programmers often make the same mistake (ธรรมื่ชาติ�ของมื่น�ษย�ที่��ที่�างานแบบเดิ�มื่ๆติามื่น�สั"ย)

– Some bugs are really just the tip of the iceberg(การออกแบบงานมื่"กเพื่��อแก�ป่%ญหาพื่�(นฐาน ฉะน"(นป่%ญหาที่��

เก��ยวข�องบางเร��องไมื่-ไดิ�คำ�าน/งถึ/ง )

Page 6: Software testing Realities

04/20/23 The Realities of software Testing 6

Not all bugs you find will be fixedNot all bugs you find will be fixed

Why? …..There are several reasons :

• There are not enough time.

• It is really not a bug.

• It is too risk to fix.

• It is just not worth it.

Page 7: Software testing Realities

04/20/23 The Realities of software Testing 7

There are not enough time

• In every project there are many software features:– Too few people to code and test.

– Not enough room to left them

– Must have software in time.

Page 8: Software testing Realities

04/20/23 The Realities of software Testing 8

It is really not bugIt is really not bug

• It’s common for misunderstandings

• Test errors

• Specification change to result

Page 9: Software testing Realities

04/20/23 The Realities of software Testing 9

It is too risk to fixIt is too risk to fix

• Software is fragile.

• Sometime is like spaghetti. (inter-twined)

• Under the pressure to release a product under tight schedule.

It may be better to leave in the know bug to avoid the risk of It may be better to leave in the know bug to avoid the risk of creating than unknown onescreating than unknown ones

Page 10: Software testing Realities

04/20/23 The Realities of software Testing 10

It’s just not worth it.It’s just not worth it.

• Bugs that would occur infrequently.

• Bugs that appear in little-used features.

• A user can prevent or avoid the bug.

Page 11: Software testing Realities

04/20/23 The Realities of software Testing 11

What happens when you make What happens when you make the wrong decision?the wrong decision?

The Intel Pentium test engineers found bug found bug before the chip was releasedbefore the chip was released, but the product team decided that it was such small, rare bug that it wasn’t worthwasn’t worth fixing. They were under a tight schedule and decided to meet their current deadline and fix the bug in later releases of the chip. Unfortunately, the bug was discovered and rest.discovered and rest.

Page 12: Software testing Realities

04/20/23 The Realities of software Testing 12

Software testing terms and definitionsSoftware testing terms and definitions

• Precision :ถึ1กติ�อง แน-นอน แมื่-นย�า กระฉ"บ พื่อดิ� พื่�ถึ�พื่�ถึ"น

• Accuracy : ถึ1กติ�อง แน-นอน แมื่-นย�า

Page 13: Software testing Realities

04/20/23 The Realities of software Testing 13

Precision & AccuracyPrecision & Accuracy