ward
ward copied to clipboard
make async library configurable with support for asyncio/curio/trio
This merge request adds support to run tests using an async library other than the standard asyncio. This can be configured globally for all tests by setting async-library
in the project's pyproject.toml
or per test by setting async_library
in the test decorator.
Example: @test('my test that uses curio', async_library="curio")
Codecov Report
Base: 84.93% // Head: 84.90% // Decreases project coverage by -0.02%
:warning:
Coverage data is based on head (
8dff097
) compared to base (67e197d
). Patch coverage: 90.32% of modified lines in pull request are covered.
:exclamation: Current head 8dff097 differs from pull request most recent head 90dacbc. Consider uploading reports for the commit 90dacbc to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #357 +/- ##
==========================================
- Coverage 84.93% 84.90% -0.03%
==========================================
Files 21 21
Lines 1845 1862 +17
Branches 284 287 +3
==========================================
+ Hits 1567 1581 +14
- Misses 236 238 +2
- Partials 42 43 +1
Impacted Files | Coverage Δ | |
---|---|---|
ward/testing.py | 95.75% <88.46%> (-0.77%) |
:arrow_down: |
ward/_collect.py | 85.81% <100.00%> (ø) |
|
ward/_run.py | 85.71% <100.00%> (+0.12%) |
:arrow_up: |
ward/config.py | 100.00% <100.00%> (ø) |
|
ward/models.py | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.