Skip to content

Update Workbook proxy #6

Open
Open
@timhall

Description

@timhall

Tasks:

  • Add AfterEach to teardown workbook after each test
  • Add instance to BeforeEach and AfterEach methods to allow passing in workbook helper instance
  • Separate from core into extensions (WBProxy and Scenario)
  • Use copy of workbook in case it's already open or unexpected things happen
  • Explore using standard WBProxy in other IWBProxy 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions