svunit / svmock

A mock framework for use with SVUnit
Apache License 2.0
15 stars 4 forks source link

Add diagnostic messages for violated mock expectations #5

Closed tudortimi-ifx closed 6 years ago

tudortimi-ifx commented 6 years ago

(I guess this is already on the list.)

Need detailed messages of what went wrong (not called enough times, wrong arguments, etc.).

nosnhojn commented 6 years ago

committed to master. not super ideal considering the limit of what the code understands due to the side effects of my intended ignorance of data types and aggregate/scalar types, but after some serious haggling I think it's useful. scaler numeric/string types are printed clearly. aggregate numeric/string types are limited to the beginning/end elements (15 characters of each). complex types are printed as b/c there's not much more I can do with them.