Voxa.Testing
0.7.2-alpha
This is a prerelease version of Voxa.Testing.
dotnet add package Voxa.Testing --version 0.7.2-alpha
NuGet\Install-Package Voxa.Testing -Version 0.7.2-alpha
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="Voxa.Testing" Version="0.7.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Voxa.Testing" Version="0.7.2-alpha" />
<PackageReference Include="Voxa.Testing" />
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 Voxa.Testing --version 0.7.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Voxa.Testing, 0.7.2-alpha"
#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 Voxa.Testing@0.7.2-alpha
#: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=Voxa.Testing&version=0.7.2-alpha&prerelease
#tool nuget:?package=Voxa.Testing&version=0.7.2-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Voxa.Testing
Test helpers for Voxa pipelines: WAV file source/sink, capturing processors, passthrough.
Install
dotnet add package Voxa.Testing --prerelease
Quickstart
End-to-end fixture-based test — read a WAV file, run it through your pipeline, write the result back to disk:
using Voxa.Pipelines;
using Voxa.Testing.Audio;
using Voxa.Testing.Processors;
var pipeline = Pipeline.Build()
.Source(new WavFileSourceProcessor("input.wav", frameDurationMs: 20))
.Then(myProcessor)
.Sink(new WavFileSinkProcessor("output.wav"));
await using var runner = new PipelineRunner(pipeline);
await runner.StartAsync();
await runner.WaitAsync();
var result = WavFile.Read("output.wav");
Or capture frames mid-pipeline for assertion:
var captured = new CapturingProcessor();
// ... insert in pipeline ...
await captured.WaitForAsync(expected: 3, TimeSpan.FromSeconds(2));
Assert.Contains(captured.Captured, f => f is TextFrame);
What's included
WavFile— RIFF/WAV codec for 16-bit PCM (read/write/parse)WavFileSourceProcessor,WavFileSinkProcessorCapturingProcessor— records every frame with a pollingWaitForAsynchelperPassthroughProcessor— forwards everything unchanged
License
MIT.
| Product | Versions 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.
-
net10.0
- Voxa.Core (>= 0.7.2-alpha)
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 |
|---|---|---|
| 0.7.2-alpha | 78 | 7/10/2026 |
| 0.7.1-alpha | 59 | 7/10/2026 |
| 0.7.0-alpha | 68 | 7/10/2026 |
| 0.6.0-alpha | 77 | 6/22/2026 |
| 0.5.0-alpha | 70 | 6/13/2026 |
| 0.4.0-alpha | 85 | 5/10/2026 |
| 0.3.0-alpha | 67 | 5/9/2026 |
| 0.2.0-alpha | 69 | 5/8/2026 |
| 0.1.0-alpha.2 | 69 | 5/8/2026 |
| 0.1.0-alpha | 75 | 5/8/2026 |