Crate smoke[][src]

Expand description

Smoke framework is a software testing library. The name is linked to the “smoke testing”, although this library does more than just “smoke testing”.

Smoke framework is composed of 3 sub frameworks:

  • Tests framework : Various testing strategy
  • Generators framework : generate arbitrary values following generation rules
  • Runtime : Execution of generation and tests

The tests and generator frameworks can be used independently

Modules

Generators of elements

First-class Property tree

Structs

Execution context

A testable statement binding a generator with a property

A pseudo random generator at a given time

Seed of random generation

Traits

Generator for an Item

Various instance of numbers generation for primitive num types (u8, u16, …, u128, i8, …, NonZeroU8, …)

A generic expressible property

Any tests to run with a testing context

Functions

Put a generator in random sampling mode for property testing

Create a new context to execute tests into