9 packages tagged with “pairwise”
Adds pairwise and combinatorial testing to Xunit. When combined with Xunit's [Theory] attribute, generates test cases that run a test under many conditions that you control via test method parameters.
NTestCaseBuilder library samples. It will add some C# sample files into a folder 'Samples\NTestCaseBuilder' within the referencing project. These samples can be built and run, mostly as NUnit tests.
This is a .NET library that generates sets of test cases, for use by parameterised tests. Think of it as being a DSL for making 'object mothers', whose generated data can be used as test cases (or for any other purpose, for that matter). Each test case is built up progressively from smaller pieces of data that are combined together. The smallest pieces are referred to as 'test variables'. Each test variable is constrained to take values from its own set of allowed 'levels'. Changing each test variable independently to a new level produces a new test case. If a test requires a certain 'strength' of coverage of combinations of levels from different test variables, the library produces a stream of test cases that honour this guarantee while avoiding getting swamped with a combinatoric explosion of test cases. If a parameterised test fails with an exception for a specific test case, the library creates a signature that allows it to reproduce the failing test case immediately in a separate test; this is to aid debugging. The sources are written in F#, but the API can be used just as comfortably from C# as from F#. The documentation is on the front page of the GitHub site: https://github.com/sageserpent-open/NTestCaseBuilder. You can also find sample code ready to run by installing the NuGet samples package: https://www.nuget.org/packages/NTestCaseBuilder.Samples.
Define, Combine, Visualize and Replay hundreds of test cases with a few lines of code! Website and source code: http://github.com/jeromerg/NCase NCase is a mix between a Mocking Framework like Moq and a parametrized test framework, having advanced combinatorial capabilities. NCase is not released yet! The API is now quite stable, but further commits may introduce breaking changes. Please give as much feedback as possible, positive, negative, critics!
Various C# Utility classes, that were initially developed for the NCase project.
Pairwise Match can serve as the basis for parser of structured text such as HTML, WKT.
Use NCase in combination with NUnit to write your parametrized tests. This adapter library contains the Nunit specific `ActAndAssert` extension method. Website and source code: http://github.com/jeromerg/NCase NCase allows to define, combine, visualize and replay hundreds of test cases with a few lines of code! It is a mix between a Mocking Framework like Moq and a parametrized test framework, having advanced combinatorial capabilities.
Use NCase in combination with Xunit to write your parametrized tests. This adapter library contains the Nunit specific `ActAndAssert` extension method. Website and source code: http://github.com/jeromerg/NCase NCase allows to define, combine, visualize and replay hundreds of test cases with a few lines of code! It is a mix between a Mocking Framework like Moq and a parametrized test framework, having advanced combinatorial capabilities.
Testimize is a smart and scalable test data generation engine for .NET. It supports boundary value analysis, pairwise testing, and heuristic optimization via the Artificial Bee Colony (ABC) algorithm. Designed for CI/CD, exploratory testing, and validation scenarios.