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.2.tar.gz (9.4 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.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: behave_parallel_runners-1.0.2.tar.gz
  • Upload date:
  • Size: 9.4 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.2.tar.gz
Algorithm Hash digest
SHA256 1c49d2e2a1f4ab157732a5cf5c7592d3367a5bab1b391e5ae2430d49738515a4
MD5 e684202eb2257f2926be373007666ee2
BLAKE2b-256 60cee4542b83e6d93a2947d9efcf85237e44200735cd530be3ff059dcac65be2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for behave_parallel_runners-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 471e7c94b62791ea417b73906c4305cfb82719afa8e3615e5c96afc27a65c2e0
MD5 ebf414e662b6dee0fbb6cde4ac1497c9
BLAKE2b-256 27be94784a3b7a153eab442588d6df2b933707771d2a7881280f0f5ce642d078

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