CMD + K

expecttest

Community

Expect tests for unittest

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::expecttest

Usage Tracking

0.3.0
0.2.1
0.2.0
0.1.6
0.1.5
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

This library implements expect tests (also known as "golden" tests). Expect tests are a method of writing tests where instead of hard-coding the expected output of a test, you run the test to get the output, and the test framework automatically populates the expected output. If the output of the test changes, you can rerun the test with the environment variable EXPECTTEST_ACCEPT=1 to automatically update the expected output.

About

Summary

Expect tests for unittest

Last Updated

Dec 13, 2024 at 19:54

License

MIT

Total Downloads

1.2M

Supported Platforms

noarch