Zodiac Systems - IEEE Twin Cities Section

Download Report

Transcript Zodiac Systems - IEEE Twin Cities Section

Testing in the Design
Phase – Medical Devices
Ralph Cardinal
5/19/05
© 2005 Ralph Cardinal. Copying and distribution of this document is permitted
in any medium, provided this notice is preserved.
Some definitions…

Design Analysis Testing (DAT)


Evaluates correct implementation of the design intent, and
requires intimate knowledge of the design detail.
Performed by designers, or dedicated group of DAT testers.
Typically tightly coupled to designers. Verifies that
implementation is correct as intended and meets
requirements. In addition, allows designers to exercise design
in extreme ways. White box testing.
More definitions…

Design Verification Testing (DVT)



Demonstrates that specified requirements have been met.
Typically performed by independent group, sometimes called
QA, especially in SW word. Verifies design to requirements.
Black box testing.
Design validation


Demonstrates that the system conforms to user needs and
intended uses.
Performed by independent group, or more likely, the
designers and system engineers.
Why Test?
Test Approaches

Over the Wall Model



Gated Model


Design to a point, then test, reapeat till complete
Spiral Model


Separate test and development groups
Design expects test to help “test in” quality
Design identifies features to be complete, performs test, then allows
verification testing to be performed on design. Defects are “spiraled”
back into design effort for next feature set release
V-Model

Design and test develop design and tests in parallel, using common
requirements, meeting at the point of the ‘V’. Requires great
communication and excellent requirements.
What to test in Design?



Hardware
Software
Systems
Hardware



DAT
DVT
Integration
Systems




Module
Integration
Verification
Validation
Regulatory Expectations






Verification and Validation
Documentation
Meets expectations of customers
Safe
Reliable
User Interface / Human Factors
Good Practices




Independent Verification and Validation (IV&V)
Peer Reviews and Inspection
Design Analysis Testing
Planned, methodical, and documented test
process and execution
Questions from previous meeting

What does software need to create for the testers,
especially if testing is done before the software exists?


Requirements, Requirements, Requirements
What does design phase testing mean?



Early DVT testing and development
Design Analysis Testing (DAT), unit tests, early integration
testing
Specific feature set testing, phased testing
Questions from previous meeting

How should software developers approach
testing?
DAT
 Unit test
 Integration testing
 Automated and/or scripted wherever possible
(regression tests)

Questions from previous meeting

Do they need to think in a specific process?

Absolutely, should the following:






Plan
Methodology
Protocols
Cases
Report
Do they need to create a test, eg. test driven
development?

Covered in approach/strategy and plan agreed to by the team
Questions from previous meeting

What does it mean to the integrity of the test
process if testers are part of the design process?
Commonly believed the IV&V (Independent
Verfication and Validation) is better
 Integrity is probably the wrong word
 Testers need to be testing, at a minumum, areas they
have not participated in the design to get a good
second view and fewer assumptions about how the
software, system, module should be functioning.

Questions from previous meeting

How do they remain separate and 'part of the
loyal opposition'?
Separate team is typically the best
 Smaller development teams, hardware engineers can
test software and vice versa if skilled appropriately.
(Common in embedded designs)
 Inspection in the design phase yields many more
dividends, early detection, and more defects.
