Skip to content

Commit

Permalink
[tests] Add docs for WasmTests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyAkinshin committed Mar 6, 2024
1 parent b5fc059 commit 63626bb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/BenchmarkDotNet.IntegrationTests/WasmTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@

namespace BenchmarkDotNet.IntegrationTests
{
public class WasmTests : BenchmarkTestExecutor
/// <summary>
/// In order to run WasmTests locally, the following prerequisites are required:
/// * Install wasm-tools workload: `BenchmarkDotNet/build.cmd install-wasm-tools`
/// * Install npm
/// * Install v8: `npm install jsvu -g && jsvu --os=default --engines=v8`
/// * Add `$HOME/.jsvu/bin` to PATH
/// * Run tests using .NET SDK from `BenchmarkDotNet/.dotnet/`
/// </summary>
public class WasmTests(ITestOutputHelper output) : BenchmarkTestExecutor(output)
{
public WasmTests(ITestOutputHelper output) : base(output) { }

[FactEnvSpecific("WASM is only supported on Unix", EnvRequirement.NonWindows)]
public void WasmIsSupported()
{
Expand Down

0 comments on commit 63626bb

Please sign in to comment.