Skip to content

TypeError: Can't instantiate abstract class Starter with abstract methods pattern #94

Description

@pjmattingly

Describe the bug
When not using the pattern parameter, this error is returned:

TypeError: Can't instantiate abstract class Starter with abstract methods pattern

To Reproduce
Steps to reproduce the behavior:

Duplicate the Quickstart code, but comment out the pattern parameter.
see: https://pytest-xprocess.readthedocs.io/en/latest/

Expected behavior
The documentation does not make it clear that the pattern parameter is required. Also the error message produced is not very informative.

Personally, I would perfer to use the startup_check function to check that my server is working rather than pattern. Perhaps one of the parameters timeout, pattern, or startup_check should be required instead of only pattern being required?

Screenshots
NA

Environment (please complete the following information):
Windows 11

Additional context
NA

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