alla flaggor
trixie  ] [  sid  ]
[ Källkod: python-expecttest  ]

Paket: python3-expecttest (0.1.5-1)

Länkar för python3-expecttest

Screenshot

Debianresurser:

Hämta källkodspaketet python-expecttest:

Ansvariga:

Externa resurser:

Liknande paket:

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.)

Andra paket besläktade med python3-expecttest

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python3-expecttest

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 7,3 kbyte32,0 kbyte [filförteckning]