Wasmo 0.1.1
dotnet add package Wasmo --version 0.1.1
NuGet\Install-Package Wasmo -Version 0.1.1
<PackageReference Include="Wasmo" Version="0.1.1" />
<PackageVersion Include="Wasmo" Version="0.1.1" />
<PackageReference Include="Wasmo" />
paket add Wasmo --version 0.1.1
#r "nuget: Wasmo, 0.1.1"
#:package Wasmo@0.1.1
#addin nuget:?package=Wasmo&version=0.1.1
#tool nuget:?package=Wasmo&version=0.1.1
Wasmo
A stateful AWS mock that runs inside your test process. The mock is a single WebAssembly module, embedded in this package and run with wasmtime. Every WasmoMock owns an isolated instance, so parallel tests never share state.
using var mock = WasmoMock.Create();
using var s3 = new AmazonS3Client(mock.Configure(new AmazonS3Config()));
using var ddb = new AmazonDynamoDBClient(mock.Configure(new AmazonDynamoDBConfig()));
Configure sets ServiceURL, AuthenticationRegion (us-east-1), dummy DefaultAWSCredentials, and an HttpClientFactory that answers every request from the mock. It works with any ClientConfig of the AWS SDK for .NET v4.
Emulated services: STS, SQS, DynamoDB, S3, SNS, EventBridge, Secrets Manager, SSM Parameter Store, KMS, and Lambda. Lambda functions run handlers registered by name with mock.RegisterFunction("name", (eventJson, context) => ...) (sync or async), on every invocation path; an exception becomes a function error. See https://github.com/conao3/wasm-wasmo.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- AWSSDK.Core (>= 4.0.102.14)
- Wasmtime (>= 48.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.