Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what is test assertion failure?

Status
Not open for further replies.

pennsia

Junior Member level 1
Joined
May 27, 2009
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,391
Hello,

Could anyone tell me what is test assertion failure? How does it happen in bench test?

Thanks a lot!
 

In general, as an assertion is used to test a condition only when all of the following hold:
•the condition should never be false if the code is correct,
•the condition is not so trivial so as to obviously be always true, and
•the condition is in some sense internal to a body of software

an “assertion failure” is said to occur when an assertion detects that its condition is false and takes appropriate action, such as throwing an exception ..

Since this is exactly what an assertion is supposed to do, the term “assertion failure” is something of a misnomer ..
Nevertheless, the term is standard and is useful because it provides a name for an important situation ..

...
 

It's reported as an assertion failure during the bench test when loading firmware. It's real failure or something else?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top