AccUnit

Unit Testing in VBA - Microsoft Access, Excel, …

Testing with vbWatchdog

From AccUnit
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