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.0.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.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: behave_parallel_runners-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c141bf5d152575433191df84617a144b47033f8e31f1cb88e2e6ea244988d973
MD5 15cad97d2949ec70443a130fb2a7b4be
BLAKE2b-256 4bc573191d7967d8bc3ac7ebb855fc66ca4b6ed3a8faf8b3bebfde3a70047daf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for behave_parallel_runners-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a7d913fd6110753487e4ae397187b7804585b9ec23de8a14025ff754a123de3
MD5 06eeabc15f27689de1796e83a4795bf8
BLAKE2b-256 21188bd83cef76fff8ae600f85b26a4a3e6307d4c2b53f7f0d57ab82f54b76de

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