Skip to content

Commit 6c8398a

Browse files
committed
v1.4.0
- Remove explicit Scripting.Dictionary reference
1 parent d1b36e6 commit 6c8398a

17 files changed

+33
-21
lines changed

Excel-TDD - Blank - Inline.xlsm

658 Bytes
Binary file not shown.

Excel-TDD - Blank.xlsm

11.6 KB
Binary file not shown.

build/dev.vbs

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Main
8181
Sub Main()
8282
' On Error Resume Next
8383

84-
PrintLn "Excel-TDD v1.3.1 Development"
84+
PrintLn "Excel-TDD v1.4.0 Development"
8585

8686
ExcelWasOpen = OpenExcel(Excel)
8787

@@ -236,7 +236,7 @@ Sub Import(ModulesDescription, Workbook)
236236
Import "specs", Workbook
237237
Exit Sub
238238
Case Else
239-
PrintLn "ERROR: Unknown modules description, " & ModulesDescription
239+
PrintLn "ERROR: Unknown modules description: " & ModulesDescription
240240
Exit Sub
241241
End Select
242242

@@ -259,15 +259,27 @@ Sub Export(ModulesDescription, Workbook)
259259
Case "SRC"
260260
Modules = Src
261261
Folder = SrcFolder
262+
Case "INLINE"
263+
Modules = InlineRunner
264+
Folder = SrcFolder
265+
Case "DISPLAY"
266+
Modules = DisplayRunner
267+
Folder = SrcFolder
268+
Case "EXTENSIONS"
269+
Modules = WorkbookExtensions
270+
Folder = SrcFolder
271+
Case "HELPERS"
272+
Modules = Helpers
273+
Folder = SrcFolder
262274
Case "SPECS"
263275
Modules = Specs
264276
Folder = SpecsFolder
265277
Case "ALL"
266-
Export "src", Workbook
267-
Export "specs", Workbook
278+
Import "src", Workbook
279+
Import "specs", Workbook
268280
Exit Sub
269281
Case Else
270-
PrintLn "ERROR: Unknown modules description, " & ModulesDescription
282+
PrintLn "ERROR: Unknown modules description: " & ModulesDescription
271283
Exit Sub
272284
End Select
273285

-30 Bytes
Binary file not shown.
11.3 KB
Binary file not shown.

specs/Excel-TDD - Specs.xlsm

16.1 KB
Binary file not shown.

src/BlankIWBProxy.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute VB_Creatable = False
88
Attribute VB_PredeclaredId = False
99
Attribute VB_Exposed = False
1010
''
11-
' BlankIWBProxy v1.3.1
11+
' BlankIWBProxy v1.4.0
1212
' (c) Tim Hall - https://github.com/timhall/Excel-TDD
1313
'
1414
' Blank implementation of IWBProxy

src/DisplayRunner.bas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Attribute VB_Name = "DisplayRunner"
22
''
3-
' DisplayRunner v1.3.1
3+
' DisplayRunner v1.4.0
44
' (c) Tim Hall - https://github.com/timhall/Excel-TDD
55
'
66
' Runner with sheet output
@@ -203,7 +203,7 @@ Private Sub OutputSpec(Spec As SpecDefinition, ByRef Row As Integer, Optional In
203203
Sheet.Cells(Row, ResultCol) = Spec.ResultName
204204
Row = Row + 1
205205

206-
If Spec.FailedExpectations.count > 0 Then
206+
If Spec.FailedExpectations.Count > 0 Then
207207
Dim Exp As SpecExpectation
208208
For Each Exp In Spec.FailedExpectations
209209
Sheet.Cells(Row, DescCol) = Indentation & "X " & Exp.FailureMessage

src/IScenario.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute VB_Creatable = False
88
Attribute VB_PredeclaredId = False
99
Attribute VB_Exposed = True
1010
''
11-
' IScenario v1.3.1
11+
' IScenario v1.4.0
1212
' (c) Tim Hall - https://github.com/timhall/Excel-TDD
1313
'
1414
' Interface for creating and running scenarios on workbooks

src/IWBProxy.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute VB_Creatable = False
88
Attribute VB_PredeclaredId = False
99
Attribute VB_Exposed = True
1010
''
11-
' IWBProxy v1.3.1
11+
' IWBProxy v1.4.0
1212
' (c) Tim Hall - https://github.com/timhall/Excel-TDD
1313
'
1414
' Interface for generic workbook proxies

0 commit comments

Comments
 (0)