Re: [Python] Test, test e ancora test, voi cosa usate?
Giusto l'altra sera mi sono visto questo talk: https://www.youtube.com/watch?v=zi0rHwfiX1Q (è stato ripreso all'ultima Clojure/West, ma non preoccupatevi... il codice è in Erlang :P ) È di uno degli autori di QuickCheck, che già ho usato... ma che questa presentazione mi ha fatto apprezzare ancora meglio Il nocciolo dell'idea è: non scrivere i test, generali! Ce ne sono diversi porting per Python, quello più attivo è forse questo: https://bitbucket.org/t2y/pytest-quickcheck/ (non l'ho usato, quindi se avete una versione migliore di quickcheck da consigliare fatevi avanti) -- xmpp: berda...@gmail.com bitmessage: BM-2cTYXfGiSTsnx3righ6aHcJSWe4MV17jDP gpg fingerprint: 3F8D53518012716C4EEF7DF67B498306B3BF75A0 (used just for signing commits) ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python
Re: [Python] Test, test e ancora test, voi cosa usate?
On 2014-04-15 11:39, Dario Bertini wrote: Giusto l'altra sera mi sono visto questo talk: https://www.youtube.com/watch?v=zi0rHwfiX1Q (è stato ripreso all'ultima Clojure/West, ma non preoccupatevi... il codice è in Erlang :P ) È di uno degli autori di QuickCheck, che già ho usato... ma che questa presentazione mi ha fatto apprezzare ancora meglio Il nocciolo dell'idea è: non scrivere i test, generali! Ce ne sono diversi porting per Python, quello più attivo è forse questo: https://bitbucket.org/t2y/pytest-quickcheck/ (non l'ho usato, quindi se avete una versione migliore di quickcheck da consigliare fatevi avanti) Un mio amico ne stava scrivendo uno, ma non ho seguito quanto è andato avanti https://github.com/davidedelvento/qc -- Daniele ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python
Re: [Python] Test, test e ancora test, voi cosa usate?
Il 15 aprile 2014 12:47, Daniele Varrazzo p...@develer.com ha scritto: On 2014-04-15 11:39, Dario Bertini wrote: (non l'ho usato, quindi se avete una versione migliore di quickcheck da consigliare fatevi avanti) Un mio amico ne stava scrivendo uno, ma non ho seguito quanto è andato avanti https://github.com/davidedelvento/qc mancava, in effetti :P © -- :**THE BEER-WARE LICENSE** (Revision 42): ``miron AT python.it`` wrote this mail. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. --*Carlo Miron* .. ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python
Re: [Python] Test, test e ancora test, voi cosa usate?
On 2014-04-15 13:28, Carlo Miron wrote: Il 15 aprile 2014 12:47, Daniele Varrazzo p...@develer.com ha scritto: On 2014-04-15 11:39, Dario Bertini wrote: (non l'ho usato, quindi se avete una versione migliore di quickcheck da consigliare fatevi avanti) Un mio amico ne stava scrivendo uno, ma non ho seguito quanto è andato avanti https://github.com/davidedelvento/qc mancava, in effetti :P As in ce ne sono almeno 347 implementazioni? :) Non ne so molto: QC è stato hip nel mondo erlang per un po' ma a noi non ha acchiappato molto... -- Daniele ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python
Re: [Python] Test, test e ancora test, voi cosa usate?
Il 15 aprile 2014 14:34, Daniele Varrazzo p...@develer.com ha scritto:: On 2014-04-15 13:28, Carlo Miron wrote: mancava, in effetti :P As in ce ne sono almeno 347 implementazioni? :) Beh, meno che di web framework, e di packet manager, in effetti. © -- :**THE BEER-WARE LICENSE** (Revision 42): ``miron AT python.it`` wrote this mail. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. --*Carlo Miron* .. ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python
Re: [Python] Test, test e ancora test, voi cosa usate?
Simone Dalla wrote: Conoscete [...] altri tool che possono completare, ampliare, aiutare una pratica spinta del TDD? Behavior Driven Development http://pythonhosted.org/behave/philosophy.html Scrivi i test funzionali insieme ai casi d'uso in linguaggio umano, e ti ritrovi documentazione chiara e sempre aggiornata. L'uovo di Colombo. Behave, Robot Framework, Pyccuracy. Cetrioli e rubini non richiesti. ;-) Per i test d'integrazione e d'unità, sempre necessari, si usano altri strumenti. -- Nicola 'tekNico' Larosa http://www.tekNico.net/ Urgullibl: The continent with the highest average education level is Antarctica. thepresidentsturtle: Those penguins are really smart though. Not really fair to compare us to them. Neebat: They invented Linux, the best operating system. Then they gave it to Linus Torvalds, their prophet. - Comments on a Reddit discussion, February 2014 ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python