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.3.tar.gz (9.5 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.3-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: behave_parallel_runners-1.0.3.tar.gz
  • Upload date:
  • Size: 9.5 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.3.tar.gz
Algorithm Hash digest
SHA256 e682ef899c346e439e2989ec04a2979634298267476d4cadc27b28bfddb9a23c
MD5 fba2516d098367e1396a2091c98a109b
BLAKE2b-256 c375f53f70cc80634e9bcf2fb9d1a3df022de1658990da9bca3e04dd85821afe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for behave_parallel_runners-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aff9a8a19d045497b1e9e7a42e7b72ce50ec1ca4fce137a46dce37ff8e88049c
MD5 d4e959b333379046cda8eeb276664382
BLAKE2b-256 abce1c8bcf32ab1b472c34e57d475aa52755d0140a8273870233b33496cb9e07

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