Paquet : python3-fudge (1.1.0-2)
Liens pour python3-fudge
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source python-fudge :
Responsables :
Ressources externes :
- Page d'accueil [farmdev.com]
Paquets similaires :
Python 3 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 3 version of the package.
Autres paquets associés à python3-fudge
|
|
|
|
-
- dep: python3
- langage orienté objet interactif de haut niveau – version par défaut de Python 3
-
- dep: python3-pkg-resources
- découverte de paquets et accès aux ressources avec pkg_resources
-
- rec: python-fudge-doc (= 1.1.0-2)
- Python module for using fake objects for tests, documentation package
Télécharger python3-fudge
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 28,3 ko | 172,0 ko | [liste des fichiers] |