Anarchy.Toolkit.Testing.Aws 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Testing.Aws --version 1.0.6
                    
NuGet\Install-Package Anarchy.Toolkit.Testing.Aws -Version 1.0.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Anarchy.Toolkit.Testing.Aws" Version="1.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Testing.Aws" Version="1.0.6" />
                    
Directory.Packages.props
<PackageReference Include="Anarchy.Toolkit.Testing.Aws" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Anarchy.Toolkit.Testing.Aws --version 1.0.6
                    
#r "nuget: Anarchy.Toolkit.Testing.Aws, 1.0.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Anarchy.Toolkit.Testing.Aws@1.0.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Anarchy.Toolkit.Testing.Aws&version=1.0.6
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Testing.Aws&version=1.0.6
                    
Install as a Cake Tool

Anarchy.Toolkit.Testing.Aws

AWS messaging helpers for SNS/SQS integration tests, typically against LocalStack.

dotnet add package Anarchy.Toolkit.Testing.Aws
  • Use SqsHelper and AwsMessageBrokerHelper to work with test queues and messaging resources.
  • SqsMessageFixture builds SQS messages, including gzip/zlib-compressed payloads.
  • Supply a suitable AWS or LocalStack endpoint and resources for your integration tests.

When to use it

Use this test-only package to exercise SNS/SQS publishing or message processing against a controlled AWS-compatible environment, or to construct SQS event fixtures without a live broker. It does not start LocalStack or provision infrastructure automatically for the whole test suite.

How to use it

  1. Start a dedicated LocalStack instance or configure a separate test AWS account and supply an application settings object implementing IAwsAppSettings.
  2. Construct AwsMessageBrokerHelper with those settings. Use its queue/topic preparation methods and, when needed, subscribe a queue to a topic before exercising the code under test.
  3. Receive and assert messages with the helper; use SqsMessageFixture when testing a Lambda handler with a constructed SQSEvent, including compressed bodies.
  4. Dispose the helper and clean up test resources. Use unique names or isolate tests that purge queues, and never point destructive cleanup at production resources.

The generic SqsHelper<TAppSettings> can use the test settings of your settings type; see the testing guide for details. PrepareTopicAsync deletes and recreates an existing topic, so isolate resource names carefully.

See Infrastructure.Messaging.Aws, the testing conventions and the toolkit overview.

Releases

1.0.6

  • refactor(src): clean up code style across library packages
  • chore(deps): update AWS SDK, Lambda ASP.NET Core server and MySqlConnector packages

1.0.5

  • chore(deps): update AWS SDK packages

1.0.3

  • build: migrate local automation to build tooling

1.0.2

  • docs: expand package guides and release histories
  • chore(deps): update AWS, Polly, and xUnit packages

1.0.1

  • Added a package-specific NuGet README.

1.0.0

  • Introduced AWS messaging test helpers, SQS helpers and an SQS message fixture.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.1 0 11/21/2026
2.0.0 0 11/20/2026
1.1.1 70 11/17/2026
1.1.0 76 11/17/2026
1.0.7 88 11/16/2026
1.0.6 80 11/14/2026
1.0.5 89 11/13/2026
1.0.4 86 11/9/2026
1.0.3 85 11/9/2026
1.0.1 91 11/6/2026
1.0.0 90 11/5/2026

Initial release.