Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[uniffi] Improve async tests #92

Closed
wants to merge 2 commits into from

Conversation

mgeisler
Copy link
Contributor

Issues:

Addresses #81.

Description of changes:

This brings the async tests in sync with the sync tests and it rewrites them to use the async keyword in Python.

Call-outs:

This should be merged after #91 (or rebased away as needed).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.

@mgeisler mgeisler requested a review from a team as a code owner February 27, 2024 12:37
The macro takes the names of one or two Python scripts inside the
`test_bindings/` directory and uses them to construct unit tests.

This saves a bit of boiler-plate code at the point where the test is
created. It also allows us to quickly see if there are gaps in the
test coverage between the sync and async code.

This comes at the expense of more “magic” in the form of the macro.
The consistency of no boiler-plate code might make this worth the
cost.
Also add an async test for the `generate_signature_keypair` function.
@mgeisler mgeisler changed the title More async tests [uniffi] Improve async tests Feb 27, 2024
@mgeisler mgeisler marked this pull request as draft February 28, 2024 11:09
@mgeisler
Copy link
Contributor Author

Superseded by #130.

@mgeisler mgeisler closed this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant