Testing and Inspection Present and Future Software Engineering

  • Slides: 19
Download presentation
Testing and Inspection Present and Future Software Engineering 2 Term Project by: Feras Batarseh

Testing and Inspection Present and Future Software Engineering 2 Term Project by: Feras Batarseh Nestor Rivera

Questions! What are the differences between Inspection and Testing? Why people at industry aren't

Questions! What are the differences between Inspection and Testing? Why people at industry aren't using Inspection? How to use Inspection efficiently?

Motivation Assessment behind statement: “Even though several empirical studies which compare inspection more favorably

Motivation Assessment behind statement: “Even though several empirical studies which compare inspection more favorably than testing, it is still not as widely used as testing…”

Ideas Achieve software quality greatest challenge. Testing is most recognized technique -> no practical

Ideas Achieve software quality greatest challenge. Testing is most recognized technique -> no practical substitute Testing downfall: defects uncovered late. Among other alternatives: Software Inspections

Definitions Software Inspections are a disciplined engineering practice for detecting and correcting defects in

Definitions Software Inspections are a disciplined engineering practice for detecting and correcting defects in software artifacts, and preventing their leakage into field operations. Software testing is any activity aimed at evaluating an attribute or capability of a program or system and determining that it meets its required results, making sure that it’s the valid system and verifying its work.

Inspection steps Planning Overview Preparation Meeting Rework Follow-up

Inspection steps Planning Overview Preparation Meeting Rework Follow-up

Inspection Meeting Players Author Moderator Reader Recorder Inspector

Inspection Meeting Players Author Moderator Reader Recorder Inspector

Inspection!

Inspection!

Inspection’s Benefits Different stages -> Immediate detection Fagan’s Study: 23% productivity improvement 38% Quality

Inspection’s Benefits Different stages -> Immediate detection Fagan’s Study: 23% productivity improvement 38% Quality improvement Self Regulating (feedback)

Inspection Drawbacks Members distributed geographically Only mature process and organization Customer demands • Personality

Inspection Drawbacks Members distributed geographically Only mature process and organization Customer demands • Personality issues § Give/ receive feedback § Severe stress Up-front cost § Long run benefits § Tools and training

Inspection’s Alternative Approach Virtual/Online Software Inspections: Inspection methods that eliminate meetings are at least

Inspection’s Alternative Approach Virtual/Online Software Inspections: Inspection methods that eliminate meetings are at least as cost-effective as methods that rely heavily on them. The benefits of holding a meeting is less than the benefits of letting individuals work alone.

Testing Types Unit testing Integration testing). Functional testing System testing Acceptance testing

Testing Types Unit testing Integration testing). Functional testing System testing Acceptance testing

Classical Approach

Classical Approach

Quantitative Approach Automated tool Quantitative approach

Quantitative Approach Automated tool Quantitative approach

Code coverage

Code coverage

What to measure?

What to measure?

Starting point!

Starting point!

Summary: Questions Revisited! Defined Testing and Inspection. Analyzed Reasons for why Inspection isn’t used

Summary: Questions Revisited! Defined Testing and Inspection. Analyzed Reasons for why Inspection isn’t used enough. Looked at the future of testing and inspection and recommended new methods.

Questions? Thank you for listening!

Questions? Thank you for listening!