Open
Description
Tasks:
- Add
AfterEach
to teardown workbook after each test - Add instance to
BeforeEach
andAfterEach
methods to allow passing in workbook helper instance - Separate from core into extensions (
WBProxy
andScenario
) - Use copy of workbook in case it's already open or unexpected things happen
- Explore using standard
WBProxy
in otherIWBProxy
implementations. (lots of overlap currently)
BeforeEach
and AfterEach
goal:
Dim Proxy As New WBProxy
' Initial setup/mapping...
Suite.BeforeEach "Setup", Instance:=Proxy
Suite.AfterEach "Teardown", Instance:=Proxy
Causes an issue with current arguments implementation, since ParamArray
cannot be used with other Optional
variables (Instance
), but ByRef
with BeforeEach
and AfterEach
is a goal, so ParamArray
might not be useful anyways.