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
Describe the bug
When not using the
patternparameter, this error is returned:TypeError: Can't instantiate abstract class Starter with abstract methods patternTo Reproduce
Steps to reproduce the behavior:
Duplicate the Quickstart code, but comment out the
patternparameter.see: https://pytest-xprocess.readthedocs.io/en/latest/
Expected behavior
The documentation does not make it clear that the
patternparameter is required. Also the error message produced is not very informative.Personally, I would perfer to use the
startup_checkfunction to check that my server is working rather thanpattern. Perhaps one of the parameterstimeout,pattern, orstartup_checkshould be required instead of onlypatternbeing required?Screenshots
NA
Environment (please complete the following information):
Windows 11
Additional context
NA