Skip to content
Sections
>> Trisquel >> Paketler >> ecne (12.0LTS) >> python >> python3-pytest-trio
[  ecne  ] [  xolotl  ]
[ Kaynak: python-pytest-trio  ]

Paket: python3-pytest-trio (0.8.0-3)

Pytest plugin for trio (Python3 version)

This is a pytest plugin to help you test projects that use Trio, a friendly library for concurrency and async I/O in Python.

Features include:

 * Async tests without the boilerplate: just write
   async def test_whatever(): ....
 * Useful fixtures included: use autojump_clock for easy testing of code with
   timeouts, or nursery to easily set up background tasks.
 * Write your own async fixtures: set up an async database connection or start
   a server inside a fixture, and then use it in your tests.
 * If you have multiple async fixtures, pytest-trio will even do setup/teardown
   concurrently whenever possible.
 * Integration with the fabulous Hypothesis library, so your async tests can
   use property-based testing: just use @given like you’re used to.
 * Support for testing projects that use Trio exclusively and want to use
   pytest-trio everywhere, and also for testing projects that support multiple
   async libraries and only want to enable pytest-trio’s features for a subset
   of their test suite.

This package contains the Python 3 version of the library.

python3-pytest-trio ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-outcome
    capture the outcome of Python function calls
  • dep: python3-pytest
    Simple, powerful testing in Python3
  • dep: python3-trio
    Python async concurrency and I/O library (Python3 version)

python3-pytest-trio indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 17,7 kB97 kB [dosya listesi]