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)
Metadata
Release files for behave-parallel-runners 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| behave_parallel_runners-1.1.0.tar.gz | 9.9 kB | Without provenance | Details for behave_parallel_runners-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| behave_parallel_runners-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for behave_parallel_runners-1.1.0-py3-none-any.whl |
Total release size: 24.9 kB
Release files / behave_parallel_runners-1.1.0.tar.gz
| Download URL | behave_parallel_runners-1.1.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e6f8e826237d71de7f5b02a4f0062766cedaf35a2ddfbb2e01385c2a237c64f
|
|
BLAKE2b-256 checksum How to use checksums |
79872fd5edecb0c88f8de63d0a1cfc6f14014df2b47759b856afaf860414a29e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.2 Darwin/24.5.0
|
Release files / behave_parallel_runners-1.1.0-py3-none-any.whl
| Download URL | behave_parallel_runners-1.1.0-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6e9023d60506e4743428c226f11568267baa158ea27af749b7880eb772ce28a
|
|
BLAKE2b-256 checksum How to use checksums |
1538c25cf604a4f99a1e767a91da1e76d46ee64a78fe19c48c8ccdcc8f60d86e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.2 Darwin/24.5.0
|
Security for behave-parallel-runners 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.