Pakiet: python-fudge (1.1.0-1)
Odnośniki dla python-fudge
Zasoby systemu Debian:
- Raporty o błędach
- Developer Information
- Dziennik zmian w systemie Debian
- Informacje nt. praw autorskich
- Śledzenie łatek systemu Debian
Pobieranie pakietu źródłowego python-fudge:
Opiekunowie:
Zasoby zewnętrzne:
- Strona internetowa [farmdev.com]
Podobne pakiety:
Python 2 module for using fake objects for tests
Fudge is a Python module for using fake objects (mocks and stubs) to test real ones.
In readable Python code, you declare what methods are available on your fake and how they should be called. Then you inject that into your application and start testing. This declarative approach means you don’t have to record and playback actions and you don’t have to inspect your fakes after running code. If the fake object was used incorrectly then you’ll see an informative exception message with a traceback that points to the culprit.
Fudge was inspired by Mocha which is a simpler version of jMock. But unlike Mocha, Fudge does not automatically hijack real objects; you explicitly patch them in your test. And unlike jMock, Fudge is only as strict about expectations as you want it to be. If the type of arguments sent to the fake method aren’t important then you don’t have to declare an expectation for them.
This is the Python 2 version of the package.
Inne pakiety związane z python-fudge
|
|
|
|
-
- dep: python
- Interaktywny, wysokopoziomowy język obiektowy (wersja Python2)
-
- dep: python-pkg-resources
- Wykrywanie pakietów i udostępnianie zasobów przy użyciu pkg_resources
-
- rec: python-fudge-doc (= 1.1.0-1)
- Python module for using fake objects for tests, documentation package
Pobieranie python-fudge
Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
---|---|---|---|
all | 28,1 KiB | 172,0 KiB | [lista plików] |