We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c880e commit b36759cCopy full SHA for b36759c
tests/ExcelAddin.xlam/Modules/RunTests.bas
@@ -0,0 +1,12 @@
1
+Attribute VB_Name = "RunTests"
2
+
3
+Sub RunAllTests()
4
+ Dim Output As String
5
+ With Application.VBE.AddIns("Rubberduck.Extension").Object
6
+ Dim LogPath As String
7
+ LogPath = ThisWorkbook.Path & "\RD_Log_" & ThisWorkbook.Name & ".txt"
8
+ Output = .RunAllTestsAndGetResults(LogPath)
9
+ End With
10
+ ' Output the result to the Immediate Window
11
+ Debug.Print Output
12
+End Sub
0 commit comments