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

Support wasm32 for recorded tests #2009

Open
heaths opened this issue Jan 18, 2025 · 0 comments
Open

Support wasm32 for recorded tests #2009

heaths opened this issue Jan 18, 2025 · 0 comments
Labels
Azure.Core The azure_core crate Client This issue points to a problem in the data-plane of the library. test-enhancement

Comments

@heaths
Copy link
Member

heaths commented Jan 18, 2025

We should consider supporting recorded tests for wasm32-unknown-unknown and friends. When resolving #1877 I made it possible to compile it, but we can't spawn processes for the wasm32 architecture so the core functionality doesn't work. Prior to that, the #[recorded::test] attribute already elides tests for wasm32.

We should be able to support it, however, if we require people to start it manually i.e., not bootstrap it automatically, and find some way to pass the URL.

@heaths heaths added Azure.Core The azure_core crate Client This issue points to a problem in the data-plane of the library. test-enhancement labels Jan 18, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in Azure SDK Rust Jan 18, 2025
heaths added a commit to heaths/azure-sdk-for-rust that referenced this issue Jan 18, 2025
Resolves Azure#1877. This also makes it possible to compile `azure_core_test` for the wasm32 architecture but will not currently work for wasm32. I opened Azure#2009 to track.
heaths added a commit to heaths/azure-sdk-for-rust that referenced this issue Jan 22, 2025
Resolves Azure#1877. This also makes it possible to compile `azure_core_test` for the wasm32 architecture but will not currently work for wasm32. I opened Azure#2009 to track.
heaths added a commit that referenced this issue Jan 27, 2025
* Add support for sanitizers, matchers

Resolves #1877. This also makes it possible to compile `azure_core_test` for the wasm32 architecture but will not currently work for wasm32. I opened #2009 to track.

* Call Client methods from the Recording

* Fix wasm32 build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core The azure_core crate Client This issue points to a problem in the data-plane of the library. test-enhancement
Projects
Status: Untriaged
Development

No branches or pull requests

1 participant