-
python3-pytest-asyncio-0.21.0-5.lbn36.noarch
pytest-asyncio is an Apache2 licensed library, written in Python, for testing
asyncio code with pytest.
asyncio code is usually written in the form of coroutines, which makes it
slightly more difficult to test using normal testing tools. pytest-asyncio
provides useful fixtures and markers to make testing easier.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-base-url-2.1.0-1.lbn36.noarch
pytest-base-url is a simple plugin for pytest that provides an optional base
URL via the command line or configuration file.
Requirements
You will need the following prerequisites in order to use pytest-base-url:
Python 3.8+ or PyPy3
Installation
To install pytest-base-url:
$ pip install pytest-base-url
Contributing
We welcome contributions.
To learn more, see Development
Specifying a Base URL
Rather than repeating or abstracting a base URL in your tests, pytest-base-url
provides a base_url fixture that returns the specified base URL.
import urllib2
def test_example(base_url):
assert 200 == urllib2.urlopen(base_url).getcode()
Using the Command Line
You can specify the base URL on the command line:
$ pytest --base-url http:/www.example.com
Using a Configuration File
You can specify the base URL using a configuration file:
[pytest]
base_url = http:/www.example.com
Using an Environment Variable
You can specify the base URL by setting the PYTEST_BASE_URL environment var
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-bdd-5.0.0-8.fc36.noarch
pytest-bdd implements a subset of the Gherkin language to enable automating
project requirements testing and to facilitate behavioral driven development.
Unlike many other BDD tools, it does not require a separate runner and benefits
from the power and flexibility of pytest. It enables unifying unit and
functional tests, reduces the burden of continuous integration server
configuration and allows the reuse of test setups.
Pytest fixtures written for unit tests can be reused for setup and actions
mentioned in feature steps with dependency injection. This allows a true BDD
just-enough specification of the requirements without maintaining any context
object containing the side effects of Gherkin imperative declarations.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-beakerlib-0.7.1-18.fc36.noarch
Allows results of running a test suite under pytest to be reported to
an active BeakerLib session.
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-benchmark-3.4.1-4.fc36.noarch
This plugin provides a benchmark fixture. This fixture is a callable object
that will benchmark any function passed to it.
Notable features and goals:
- Sensible defaults and automatic calibration for microbenchmarks
- Good integration with pytest
- Comparison and regression tracking
- Exhausive statistics
- JSON export
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-black-0.3.12-1.lbn36.noarch
pytest-black [. Changes will _not_ be
applied...
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-pytest-black-0.3.12-1.lbn36.noarch
pytest-black [. Changes will _not_ be
applied...
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-black-multipy-1.0.1-1.lbn36.noarch
.. .. .. .. :target:
Located in
LBN
/
…
/
Core Linux
/
BastionLinux 36
-
python3-pytest-black-multipy-1.0.1-1.lbn36.noarch
.. .. .. .. :target:
Located in
LBN
/
…
/
CI/CD
/
BastionLinux 36
-
python3-pytest-browserstack-local-0.5.0-1.lbn36.noarch
May be useful for Continuous Integration. Read more <
Located in
LBN
/
…
/
DevOps
/
BastionLinux 36