No project description provided
Project description
behave-parallel-runners
Объявление своего раннера
Рекомендуется запуск в несколько процессов, так как:
- При работе в потоках есть проблемы с Allure репортером.
- Для запуска субинтерпретаторов необходима версия python 3.14, что не поддерживается некоторыми зависимостями.
from behave.configuration import Configuration
from behave.runner import ITestRunner
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file behave_parallel_runners-1.1.0.tar.gz.
File metadata
- Download URL: behave_parallel_runners-1.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e6f8e826237d71de7f5b02a4f0062766cedaf35a2ddfbb2e01385c2a237c64f
|
|
| MD5 |
02f01e1370f4eb9d03eceb3937269910
|
|
| BLAKE2b-256 |
79872fd5edecb0c88f8de63d0a1cfc6f14014df2b47759b856afaf860414a29e
|
File details
Details for the file behave_parallel_runners-1.1.0-py3-none-any.whl.
File metadata
- Download URL: behave_parallel_runners-1.1.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6e9023d60506e4743428c226f11568267baa158ea27af749b7880eb772ce28a
|
|
| MD5 |
3df52907eda1d24fcc8f41d4e5928283
|
|
| BLAKE2b-256 |
1538c25cf604a4f99a1e767a91da1e76d46ee64a78fe19c48c8ccdcc8f60d86e
|