Pytest-play

Latest version: v2.3.1

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.3.2

------------------

- Nothing changed yet.

2.3.1

------------------

Bugfix:

- fix compatibility with pytest 4.6. Rif 86

Documentation:

- update media section (articles and talks)

2.3.0

------------------

Features and improvements:

- ``wait_until`` and ``wait_until_not`` now accept commands with no ``sub_commands`` property

- implement new ``while`` command in python provider (while expression is true)

2.2.2

------------------

Minor changes:

- remove internal property parameter on engine

Bugfix:

- add compatibility with ``pytest-repeat``'s ``--count`` command line option

Documentation:

- mention how to generate dynamic values using ``{! expr !}`` expressions
(e.g., dynamic payloads in REST or MQTT without having to store variables
when not needed)

2.2.1

------------------

Minor changes:

- add ``int`` and ``float`` builtins available in Python expressions

- make python expressions more flexible for future improvements (internal change that doesn't
affect compatibility)

Bugfix:

- fix ``--setup-plan`` invokation

Documentation:

- add more examples (bzt/Taurus and performance tests using pytest-play)

2.2.0

------------------

- ``statsd`` integration (optional requirement) for advanced test metrics using statsd/graphite.
If you install pytest play with the optional statsd support with ``pytest-play[statsd]``
you will get the additional dependency ``statsd`` client and you can use the same cli
options defined by the ``pytest-statsd`` plugin (e.g.,
``--stats-d [--stats-prefix myproject --stats-host http://myserver.com --stats-port 3000]``).

Note well: despite the above cli options are the same defined by the ``pytest-statsd`` plugin,
at this time of writing ``pytest-statsd`` is not a ``pytest-play`` dependency
so you won't get stats about number of failures, passing, etc but only stats tracked by
``pytest-play``. If you need them you can install ``pytest-statsd`` (it plays well with ``pytest-play``)

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.