-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[browser][wbt] Fix not failing download for `DownloadProgressFinishes…
…` test when randomly picked index is zero (#98985)
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/mono/wasm/testassets/WasmBasicTestApp/App/wwwroot/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## WasmBasicTestApp | ||
|
||
This is a test application used by various Wasm.Build.Tests. The idea is to share a common behavior (so that we don't have to maintain many test apps) and tweak it for the test case. | ||
It typically suits scenario where you need more than a plain template app. If the test case is too different, feel free to create another app. | ||
|
||
### Usage | ||
|
||
The app reads `test` query parameter and uses it to switch between test cases. Entrypoint is `main.js`. | ||
There is common unit, then switch based on test case for modifying app startup, then app starts and executes next switch based on test case for actually running code. | ||
|
||
Some test cases passes additional parameters to differentiate behavior, see `src/mono/wasm/Wasm.Build.Tests/TestAppScenarios`. | ||
|
||
### Running out side of WBT | ||
|
||
One of the benefits is that you can copy the app out of intree and run the app without running Wasm.Build.Tests with just `dotnet run`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters