Skip to content
Sections
>> Trisquel >> パッケージ >> ecne (12.0LTS) >> python >> python3-expecttest
[  ecne  ] [  xolotl  ]
[ ソース: python-expecttest  ]

パッケージ: python3-expecttest (0.1.5-1)

Expect tests in Python (also known as "golden" tests)

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.

Somewhat unusually, this library implements inline expect tests: that is to say, the expected output isn't saved to an external file, it is saved directly in the Python file (and we modify your Python file when updating the expect test.)

その他の python3-expecttest 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-hypothesis
    advanced Quickcheck style testing library for Python 3

python3-expecttest のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 7.4 kB32 kB [ファイル一覧]