Skip to content

Import table not implemented #3

Description

@jalmeter

Browsing through the code, it looks like import is not implemented. I'm going to take a crack at it and I have some idea how I think it should behave, but that has led to a question or two.

What I am pondering is that import would dlopen() each file passed in and then use dlsym() to get the address of AddFixtures() and call it.

My first question is what order should we open the files and add their fixtures? I.e. does import add to the front or the back of the search path?

Second question: There doesn't seem to be any way to 'un-import'. I imagine a scenario where a new page added somewhere in the hierarchy could break a test page some where else. How is the parent/uncle rule supposed to work for import?

Thanks,
-Jason

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions