ParameterTests.jl

Add support for parameter and sample testing to Julia
Author InfiniteChai
Popularity
0 Stars
Updated Last
3 Years Ago
Started In
May 2021

ParameterTests.jl

Provides support for parameter and sample tests in Julia

Documentation Build Status

This package builds around the standard testing framework in Julia to allow for easy extension for parameterised and sample testing, while not restricting the free-form testing capabilities.

Example

This package provides a simple way to write parameterised tests and to help find the edge cases in your code.

using ParameterTests
@paramtest "Integers Commute" begin
  @given a  integers(), b  integers()
  @test a + b == b + a
end