@@ -49,12 +49,35 @@ Specs = Array( _
4949 "SpecExpectationSpecs.bas" _
5050)
5151
52+ Dim InlineRunner
53+ InlineRunner = Array( _
54+ "InlineRunner.bas" _
55+ )
56+
57+ Dim DisplayRunner
58+ DisplayRunner = Array( _
59+ "DisplayRunner.bas" _
60+ )
61+
62+ Dim WorkbookExtensions
63+ WorkbookExtensions = Array( _
64+ "IScenario.cls" , _
65+ "Scenario.cls" , _
66+ "IWBProxy.cls" , _
67+ "WBProxy.cls" _
68+ )
69+
70+ Dim Helpers
71+ Helpers = Array( _
72+ "SpecHelpers.bas" _
73+ )
74+
5275Main
5376
5477Sub Main()
5578 ' On Error Resume Next
5679
57- PrintLn "Excel-TDD v1.2.3 Development"
80+ PrintLn "Excel-TDD v1.3.0 Development"
5881
5982 ExcelWasOpen = OpenExcel(Excel)
6083
@@ -72,8 +95,8 @@ End Sub
7295Sub Development
7396 PrintLn vbNewLine & _
7497 "Options:" & vbNewLine & _
75- "- import [src/specs/all] to [blank/specs/all/path...]" & vbNewLine & _
76- "- export [src/specs/all] from [blank/specs/all/path...]" & vbNewLine & _
98+ "- import [src/specs/inline/display/extensions/helpers/ all] to [blank/inline/display /specs/all/path...]" & vbNewLine & _
99+ "- export [src/specs/inline/display/extensions/helpers/ all] from [blank/inline/display /specs/all/path...]" & vbNewLine & _
77100 "- release"
78101
79102 Dim Action
@@ -93,7 +116,12 @@ Sub Development
93116
94117 If UCase(Parts( 0 )) = "RELEASE" Then
95118 Execute "import" , "src" , "all"
119+ Execute "import" , "inline" , "inline"
120+ Execute "import" , "display" , "display"
121+ Execute "import" , "extensions" , "display"
122+ Execute "import" , "helpers" , "specs"
96123 Execute "import" , "specs" , "specs"
124+ Execute "import" , "inline" , "specs"
97125 ElseIf UBound(Parts) < 3 Or (UCase(Parts( 0 )) <> "IMPORT" And UCase(Parts( 0 )) <> "EXPORT" ) Then
98126 PrintLn vbNewLine & "Error: Unrecognized action"
99127 Else
@@ -116,9 +144,8 @@ Sub Development
116144 End If
117145 End If
118146
119- If UCase(Left(Input(vbNewLine & "Would you like to do anything else? [yes/no] <" ), 1 )) = "Y" Then
120- Development
121- End If
147+ PrintLn ""
148+ Development
122149End Sub
123150
124151Sub Execute(Name, ModulesDescription, WorkbookDescription)
@@ -127,11 +154,15 @@ Sub Execute(Name, ModulesDescription, WorkbookDescription)
127154 Dim Paths
128155 Select Case UCase(WorkbookDescription)
129156 Case "BLANK"
157+ Paths = Array(BlankWorkbookPath, BlankInlineWorkbookPath)
158+ Case "INLINE"
159+ Paths = Array(BlankInlineWorkbookPath)
160+ Case "DISPLAY"
130161 Paths = Array(BlankWorkbookPath)
131162 Case "SPECS"
132163 Paths = Array(SpecsWorkbookPath)
133164 Case "ALL"
134- Path = Array(BlankWorkbookPath, SpecsWorkbookPath)
165+ Paths = Array(BlankWorkbookPath, BlankInlineWorkbookPath , SpecsWorkbookPath)
135166 Case Else
136167 Paths = Array(WorkbookDescription)
137168 End Select
@@ -173,6 +204,18 @@ Sub Import(ModulesDescription, Workbook)
173204 Case "SRC"
174205 Modules = Src
175206 Folder = SrcFolder
207+ Case "INLINE"
208+ Modules = InlineRunner
209+ Folder = SrcFolder
210+ Case "DISPLAY"
211+ Modules = DisplayRunner
212+ Folder = SrcFolder
213+ Case "EXTENSIONS"
214+ Modules = WorkbookExtensions
215+ Folder = SrcFolder
216+ Case "HELPERS"
217+ Modules = Helpers
218+ Folder = SrcFolder
176219 Case "SPECS"
177220 Modules = Specs
178221 Folder = SpecsFolder
0 commit comments