Azure / Azure/azure-sdk-for-rust

Support wasm32 for recorded tests

Open
#2,009 0 comments 0 reactions 0 assignees View on GitHub
Azure.Core Client test-enhancement
Dominant language
Rust
Stars
884
Forks
365
Avg merge
2d 19h
Merged PRs (30d)
109

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start by examining the `#[recorded::test]` attribute and the wasm32 compilation work from #1877. Determine how manually started services and their URL could be supplied without process spawning; done means recorded tests run on wasm32-unknown-unknown and related targets. The issue does not name files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.