Is there a good way to get positive acknowledge from conditional checks that does not fail? I currently use ReportAlerts(…) to count failures, errors and warnings from Alerts (with AlertLogIDs), but I would also like to have something like a counter for the number of times an Alert check with a given AlertLogID has been evaluated (check passed). Any suggestions on how to solve this?
The 2015.06 release will be out within a week. One thing it added is affirmations, which are counted. Since Alert is used for numerous things in OSVVM now, such as during the range checks of a randomization, just a count of alerts would not measure how much self checking was actually added to a test.
I just tried out the new affirmations, seems to work pretty well. I don’t have to specify both the Log and the Alert anymore – I guess that was intention of affirmations.
What do you think about counting the affirmations for each AlertLogID and print it as a column in the ReportAlerts output? It would be nice to know if some or all of my AlertLogIDs have been affirmed or not. What about an optional AtLeast parameter for affirmations for each AlertLogID?
I added your comments to my features to consider for a future release. If others are interested in this same capability and I will make sure to prioritize it higher.