Skip to content

RegTest: can you include another file from a test file? #25

Description

@stormi

I would like to create a shared macros file for all my tests to include. Mostly macros that bring the game to the wanted state before the actual test starts.

For example, I want to add a test which specifically performs various checks on a given object. The object is in a room that you only reach after a few tens of commands, that I want to avoid repeating, for maintainability's sake. I could just include the macro from another file where it's defined once and for all, this would be very convenient.

I haven't found such a feature in the documentation, but maybe there's already a way? If not, please consider this a feature suggestion 🙏 .

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions