← All projects
Project record1 mention
Originally shared on Hacker News

Americium

A mixed Java/Scala framework for property-based and generally parameterised tests. It serves test data into whatever flavour of Java or Scala test the user writes, looks for an exception from the test, and automatically shrinks failing tests without requiring custom shrinkage logic, while leaving test structure and expectations DSL entirely up to the user. An optional separately shipped artifact plugs into JUnit5/JUnit6 for tighter integration, including test replay via IntelliJ or Visual Studio.

Last shared For Folk who want to write property-based or parameterised tests in Java or Scala
01 / The problem

What it addresses

Property-based test frameworks typically dictate the test structure and expectations DSL and require users to write custom shrinkage logic; Americium shrinks failing tests automatically and imposes no test structure.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Americium

    A mixed Java/Scala framework for property-based and generally parameterised tests. It serves test data into whatever flavour of Java or Scala test the user writes, looks for an exception from the test, and automatically shrinks failing tests without requiring custom shrinkage logic, while leaving test structure and expectations DSL entirely up to the user. An optional separately shipped artifact plugs into JUnit5/JUnit6 for tighter integration, including test replay via IntelliJ or Visual Studio.

    Problem: Property-based test frameworks typically dictate the test structure and expectations DSL and require users to write custom shrinkage logic; Americium shrinks failing tests automatically and imposes no test structure.

    Audience: Folk who want to write property-based or parameterised tests in Java or Scala

    Posted by @sageserpent · Original source ↗

    Source text · @sageserpent · · Source ↗

    Americium - this is a mixed Java / Scala framework for folk who want to write property-based or generally parameterised tests, but: a) want the failing tests to shrink automatically without writing custom shrinkage logic and b) don't want to have the test structure and expectations DSL dictated to them by the framework.