Skip to content

Fully support extensions that add GLuaTest "flavors" #83

@sarahsturgeon

Description

@sarahsturgeon

One benefit of having GLuaTest operate on tables is that we don't really care how the end user actually makes the table.

With this in mind, we could actually create "flavors" of GLuaTest syntax that more closely match the syntax that people have come to love in other frameworks.

Some ideas:

To accomplish this, GLuaTest will need to have a sufficient number of hooks that allow Extensions to modify anything they'd like. Off the top of my head this means, certainly:

  • Some way to add globals to test files when they load.. somehow
  • A handler hook that passes the raw table received when loading a test file

Best way to actually figure the rest of these out is to just try making one of these flavors. I'll probably start with Jest or RSpect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions