AccUnit

Unit Testing in VBA - Microsoft Access, Excel, …

Testing with vbWatchdog

From AccUnit
Revision as of 20:27, 12 February 2011 by Josef Pötzl (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Use PropagateUnhandledClassErrors to configure vbWatchdog (Version 2.3.2 or higher) for testing in Setup/TearDown.

Public Sub Setup()
   EnableWatchdog
   ErrEx.PropagateUnhandledClassErrors = True
End Sub
 
Public Sub TearDown()
   DisableWatchdog
   ErrEx.PropagateUnhandledClassErrors = False
End Sub
Personal tools