Skip to content

Instantly share code, notes, and snippets.

@bervukas
Created May 4, 2016 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bervukas/5457ad4099099b786077df7f69b67a11 to your computer and use it in GitHub Desktop.
Save bervukas/5457ad4099099b786077df7f69b67a11 to your computer and use it in GitHub Desktop.
Empty Test Method in Rubberduck VBA
'@TestMethod
Public Sub TestMethod1() 'TODO: Rename test
On Error GoTo TestFail
'Arrange:
'Act:
'Assert:
Assert.Inconclusive
TestExit:
Exit Sub
TestFail:
Assert.Fail "Test raised an error: #" & Err.Number & " - " & Err.Description
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment