@staticmethod
def pytest_addoption(parser):
    """
        Adds custom options to the ``pytest`` command.
        https://docs.pytest.org/en/latest/writing_plugins.html#_pytest.hookspec.pytest_addoption
        """
    group = parser.getgroup('crate', 'integration tests')
    group.addoption('--crate-version', dest='crate_version', default=
        'latest-stable', help='CrateDB version')
