Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

make async library configurable with support for asyncio/curio/trio #357

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

logileifs
Copy link

@logileifs logileifs commented Nov 26, 2022

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
Copy link

codecov bot commented Nov 26, 2022

Codecov Report

Base: 84.93% // Head: 84.90% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (8dff097) compared to base (67e197d).
Patch coverage: 90.32% of modified lines in pull request are covered.

❗ 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%) ⬇️
ward/_collect.py 85.81% <100.00%> (ø)
ward/_run.py 85.71% <100.00%> (+0.12%) ⬆️
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.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant