Skip to content

Configurable timeout for tests #61

@WesCossick

Description

@WesCossick

When running the test script in a test project, currently Rugged will wait indefinitely. Ideally, though, it would timeout after some period of time. I'd suggest a default timeout of 30s, with the option to configure this via the config file.

I imagine there'd be many areas where we could eventually allow configurable timeouts, so maybe we could add a timeouts object to the config file, with an option inside of it called tests. So it'd look like:

module.exports = {
    timeouts: {
        tests: 123,
    },
};

In the future, we could add timeouts.??? for other things we want to impose configurable timeouts on.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions