TESTIMIZEby Automate The Planet

Fewer Test Cases. More Bugs Found.

Testimize generates boundary, equivalence and pairwise test data, then optimizes it with a Hybrid Artificial Bee Colony algorithm: compact suites with the highest coverage-to-size ratio.

dotnet add package Testimize Apache 2.0 · .NET · NUnit, xUnit, MSTest
WORKS WITH NUnitxUnitMSTestCSVJSONSPECTRABELLATRIX

From Input Rules to Data-Driven Tests

Describe what each field accepts. Testimize does the test design and hands back ready-to-run test cases for the framework you already use.

  1. 01

    Describe

    Declare inputs with a fluent DSL: text, email, phone, dates, selects and more.

  2. 02

    Expand

    Boundary values plus valid and invalid equivalence classes, from your rules or the JSON config.

  3. 03

    Optimize

    Pairwise, combinatorial or Hybrid ABC keeps the combinations with the highest fitness.

  4. 04

    Output

    NUnit, xUnit, MSTest attributes, CSV or JSON, straight into your test project.

A Swarm That Picks the Test Cases Worth Running

Every candidate test case is a food source. Employed bees mutate it, onlooker bees exploit the promising ones, scouts explore when the colony stagnates. A fitness function rewards boundaries and unique values and penalises cases stacked with invalid inputs.

  • Elite selection and simulated annealing escape local optima

  • Tabu-like memory avoids regenerating seen test cases

  • Fixed seed for stable, CI-friendly suites

Hybrid ABC · fitnessTC-07 · generation 14
Full Name "Ann" Boundary Valid +20
Email "a@e.io" Boundary Valid +20
Age 25 Valid +2
Phone "+3598" Boundary Invalid −1
Any first time "a@e.io" appears New Unique Value +25
F(t) = Σ score + uniqueness − penalties66
SUITE SIZE3 fields × 3 values
Combinatorial27 cases
Every combination. Exhaustive, grows fast.
Pairwise~9 cases
Every pair of values covered at least once.
Hybrid ABCbest-scoring only
Bees mutate, exploit and scout; only high-fitness cases survive.

Five Strategies, One Fluent API

Go exhaustive when you have three fields. Go pairwise when you have ten. Switch to Hybrid ABC when you need the smallest suite that still hits every boundary. One setting changes it.

StrategyBest for
CombinatorialExhaustive, under 4 fields
PairwiseInteraction coverage, fast
PairwiseOptimizedPairwise, best-scoring only
CombinatorialOptimizedFull combos, fitness-filtered
HybridArtificialBeeColonyHighest coverage-to-size ratio

Explore Fast, Then Lock It Down

EXPLORATORY · DEFAULT

Give the Bounds, Get Realistic Data

Specify boundaries and basic configuration. Bogus-based strategies and your testimizeSettings.json fill in valid and invalid equivalence classes.

Early-stage testing, TDD, form coverage, finding missing validations.

PRECISE

Every Value and Message Under Your Control

Declare valid, boundary-valid, boundary-invalid and invalid values explicitly, each with the error message it must produce.

Regression suites, CI pipelines, well-defined validation rules.

Write the Rules Once. Get the Test Cases.

Expected validation messages travel with each invalid value, so every generated case knows what it should assert.

SignUpTests.cs · rules
TestimizeEngine.Configure(
    parameters => parameters
        .AddText(t => t
            .Valid("Anton Angelov")
            .BoundaryValid("Ann")
            .BoundaryInvalid("An")
                .WithExpectedMessage("Full Name must be between 3 and 20 characters.")
            .Invalid("")
                .WithExpectedMessage("Full Name is required."))
        .AddEmail(6, 20)
        .AddInteger(i => i
            .BoundaryValid(18).BoundaryValid(100)
            .BoundaryInvalid(17)
                .WithExpectedMessage("Age must be between 18 and 100.")),
    settings =>
    {
        settings.Mode = TestGenerationMode.HybridArtificialBeeColony;
    }).Generate();
Generated · NUnit [TestCase]
[TestCase("Ann", "a@e.io", 18, "")]
[TestCase("Anton Angelov", "a@e.c", 100,
    "Email must be at least 6 characters long.")]
[TestCase("An", "user@domain.com", 25,
    "Full Name must be between 3 and 20 characters.")]
[TestCase("Ann", "valid@domain.fr", 17,
    "Age must be between 18 and 100.")]
[TestCase("", "a@e.io", 100,
    "Full Name is required.")]
public void SubmitForm_WithValidation(
    string fullName, string email, int age, string expectedError)
{
    // your test logic
}

Boundary-Aware Input Types

  • Text
  • Email
  • Password
  • Phone
  • Integer
  • Boolean
  • Date
  • DateTime
  • Week
  • Month
  • Single Select
  • Multi Select
  • URL
  • Username
  • Address
  • Currency
  • Time
  • Percentage
  • Color
  • Geo Coordinates

Output Where Your Tests Live

NUnit
[TestCase(...)] attributes or a TestCaseSource method
xUnit
[InlineData(...)] attributes
MSTest
[DataTestMethod] with [DataRow(...)]
CSV
Rows for import into other tools
JSON
Structured arrays for pipelines
Factory
List<Model> methods for object-based tests

See Testimize in Action

One sign-up form, four fields, 840 combinations. Described once, expanded into boundary and equivalence classes, then narrowed by Hybrid ABC from 37 pairwise cases to 11.

Fewer cases Testimize logo and headline; free and open source; the install command.

Drowning in Data-Driven Test Permutations?

We built Testimize. We can help you cut regression suites down to the cases that actually find bugs.