Skip to content

[browser] Wasm SDK tests #86087

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

Open
Tracked by #70762
maraf opened this issue May 11, 2023 · 1 comment
Open
Tracked by #70762

[browser] Wasm SDK tests #86087

maraf opened this issue May 11, 2023 · 1 comment
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono
Milestone

Comments

@maraf
Copy link
Member

maraf commented May 11, 2023

Now that Wasm SDK contains most of the Blazor SDK, we should test more things in the runtime

  • Test that changes to the SDK doesn't break previous Blazor versions
    • Test Blazor in .NET 7 (6 behavior is the same)
    • Test Blazor in .NET 8 (current)
  • Validate that built/published files match what should be there for the tested version
    • dotnet.js, dotnet.wasm, boot.config
  • Validate that the content is correct
    • boot.config
  • Test all the features that the SDK provides
    • Globalization
    • TimeZoneSupport
    • Jiterpreter options
    • Startup memory cache
    • Webcil
  • Validate that unintended files don't appear in the build output
    • Scope this to only runtime related code (wasm template is probably a good candidate)
  • Migrate tests SDK for runtime contracts from SDK repo to runtime repo

SDK repository contains a lot of these tests. Wasm.Build.Tests also contains some of these tests.

/cc @radical

@maraf maraf added arch-wasm WebAssembly architecture area-Build-mono labels May 11, 2023
@maraf maraf added this to the 8.0.0 milestone May 11, 2023
@ghost
Copy link

ghost commented May 11, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Now that Wasm SDK contains most of the Blazor SDK, we should test more things in the runtime

  • Test that changes to the SDK doesn't break previous Blazor versions
    • Test Blazor in .NET 7 (6 behavior is the same)
    • Test Blazor in .NET 8 (current)
  • Validate that built/published files match what should be there for the tested version
    • dotnet.js, dotnet.wasm, boot.config
  • Validate that the content is correct
    • boot.config
  • Test all the features that the SDK provides
    • Globalization
    • TimeZoneSupport
    • Jiterpreter options
    • Startup memory cache
    • Webcil
  • Validate that unintended files don't appear in the build output
    • Scope this to only runtime related code (wasm template is probably a good candidate)

SDK repository contains a lot of these tests. Wasm.Build.Tests also contains some of these tests.

/cc @radical

Author: maraf
Assignees: -
Labels:

arch-wasm, area-Build-mono

Milestone: 8.0.0

@maraf maraf changed the title Wasm SDK tests [browser] Wasm SDK tests May 22, 2023
@maraf maraf modified the milestones: 8.0.0, 9.0.0 Jul 25, 2023
@maraf maraf modified the milestones: 9.0.0, Future Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Build-mono
Projects
None yet
Development

No branches or pull requests

1 participant