Skip to content

Discover all files if specified definition file is actually a directory #10

Description

Currently, each definition file passed to quilla must be done so explicitly. This is in part because it's easier to push the burden onto the user, and in part because this enables the user to be certain about the order of precedence for the definitions file.

It could however be a usecase that a single team maintains a set of mutually exclusive definition files, such as:

{
    "LoginPage": {
        "my_definition": "some_xpath"
    }
}
{
    "HomePage": {
        "my_definition": "some_xpath"
    }
}

In this case, there will never be a conflict since each file will deal with a specific subset. It would then be beneficial to be able to specify to Quilla a directory where all such files exist, allowing users to have them be discovered by Quilla instead of manually specified.

Another idea would be to allow these folders to exist in a way that each file is namespaced to guarantee the lack of conflicts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions