Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

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

More information

- Homepage: https://github.com/ezyang/expecttest

...