[][src]Crate platina

platina is a simple parameterized golden file testing library.

Usage

First, create a test by implementing Testable for a struct. Then, create a new TestFile, with the path to a platina test file. Finally, run your tests.

Examples

An example can found in the in the README.md on GitHub.

Guide

A getting started guide is available in the

Structs

TestCase

TestCase represents one logical case for a test file in platina.

TestFile

TestFile represents a plaintext file in platina's expected format

Traits

Testable

Testable describes something which can be tested via platina.