+1
0
-1

Finishing test case by user code.

Hello everyone,
Is there any VectorCast function that allow to finish test case earlier and check expected values?

I'm having problem with testing code that is using "panic...

Posting in: 

5 Answers:

+1
0
-1

Hello,

For logging_func() end of stub add the following user code.

...

+1
0
-1

Hi,
I'm using this functions right now, but still it doesn't check expected values.
Is it possible to add some verification in stubbued function so it will show pass/fail in...

+1
0
-1

I've tried that here, it all works fine. Since the function under test does not return, I do not set an expected result for it.

A previous stub is correctly recorded and entry to...

+1
0
-1

What's wrong with wrapping while(1){} in #ifndef VECTORCAST ?

Maybe add a #define INFITINTE_LOOP or WAIT_FOREVER or WAIT_FOR_REBOOT or WAIT_FOR_INTERRUPT, or similarly named...

+1
0
-1

Hello,

There's nothing wrong with that. I do in these situations work on the premise that the customer is not allowed to change the source. More often than not, that is the case.

...