Skip to main content

No project description provided

Project description

behave-parallel-runners

Объявление своего раннера

Рекомендуется запуск в несколько процессов, так как:

  • При работе в потоках есть проблемы с Allure репортером.
  • Для запуска субинтерпретаторов необходима версия python 3.14, что не поддерживается некоторыми зависимостями.
from behave.configuration import Configuration
from behave.runner import ITestRunne

from behave_parallel_runners.runner import ParallelRunner
from behave_parallel_runners.workers import WorkerPoolExecutor
from behave_parallel_runners.workers.process import ProcessWorker
from behave_parallel_runners.tasks import FeatureTaskAllocator

class FeatureParallelRunner(ParallelRunner):
    def __init__(self, config: Configuration):
        super().__init__(
            config=config,
            task_allocator=FeatureTaskAllocator(config),
            worker_pool_executor=WorkerPoolExecutor(config, ProcessWorker),
        )

ITestRunner.register(FeatureParallelRunner)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

behave_parallel_runners-1.0.4.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

behave_parallel_runners-1.0.4-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file behave_parallel_runners-1.0.4.tar.gz.

File metadata

  • Download URL: behave_parallel_runners-1.0.4.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.5.0

File hashes

Hashes for behave_parallel_runners-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f8cf3a5ee6f61bca22337352928927e585f3725981660f8808e142e42f7e1988
MD5 0d0bfeda4235b28abac77f902cbcf3ba
BLAKE2b-256 7c93d49e36f18787ac7ee84f5bffbfea64e3cec871e05b20c637032d976b82ec

See more details on using hashes here.

File details

Details for the file behave_parallel_runners-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for behave_parallel_runners-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a43b05c0c773113b3e0ceaca3e13d4ac6395b2fedc1f1dd280dcbe378d3d90f3
MD5 42adb038dd9f488a00b4be425da1276e
BLAKE2b-256 1d8b6b97ca45396a607331810366f3b72f3ec600393f619f8fe67d6c726c0f52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page