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.1.tar.gz (9.1 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.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: behave_parallel_runners-1.0.1.tar.gz
  • Upload date:
  • Size: 9.1 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.1.tar.gz
Algorithm Hash digest
SHA256 928afdea0bf32cc7dacb942d07cb7a1f8c712385e371ec555b7fd5d1b36923fe
MD5 348ad851b725cddea4b4a3736eb24cec
BLAKE2b-256 852edf582dfe57e18143e8cdc301e48e52446f502e28aa63a0a4b31453317014

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for behave_parallel_runners-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33967e5bd1d3ce20eccf117ca6c2b3aca893c344b456843b36fa703430a29f36
MD5 79d517212a4aeaed1fcdc5c75e832363
BLAKE2b-256 f77c0f5042c7e5d7414149978afbda34394e9e2eb99e07f8db63bcce0803cf9d

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