Pikzie

Software screenshot:
Pikzie
Dettagli del software:
Versione: 1.0.1
Data di caricamento: 14 Apr 15
Sviluppatore: Kouhei Sutou
Licenza: Libero
Popolarità: 76

Rating: 4.5/5 (Total Votes: 2)

Pikzie è un facile da scrivere e framework di test unit debug per Python.
Pikzie fornisce le seguenti caratteristiche che sono mancava in unittest.py incluso nella distribuzione standard di Python:
* Pythonic API
* Un sacco di affermazioni
* Uscite risultano con formato utile per il debug.
Installa:
% Sudo python setup.py install

Usage:

Supponiamo di avere la seguente struttura di directory:
. - + - Lib --- --- your_module ...
& Nbsp; |
& Nbsp; + - Test - + - run-test.py
& Nbsp; |
& Nbsp; + - __init__.py
& Nbsp; |
& Nbsp; + - test_module1.py
& Nbsp; |
& Nbsp; + - ...
test / run-test.py è il seguente:
#! / Usr / bin / env python
import sys
os importazione
base_dir = os.path.abspath (os.path.join (os.path.dirname (__ FILE__), ".."))
sys.path.insert (0, os.path.join (base_dir, "lib"))
sys.path.insert (0, base_dir)
import pikzie
sys.exit (pikzie.Tester (). run ())
. Test / test _ * py vengono caricati automaticamente e prove definite sono corse invocando run-test.py come la seguente:
Test% / run-test.py

Cosa c'è di nuovo in questa versione:

  • fix sbagliato 'allineati' individuazione
  • migliorare la rilevazione messaggio in assert_search_syslog_call

Requisiti :

  • Python

Programmi simili

CppUnit
CppUnit

17 Feb 15

zope_fixtures
zope_fixtures

20 Feb 15

mongonose
mongonose

11 May 15

proboscis
proboscis

20 Feb 15

Altri software di sviluppo Kouhei Sutou

Rabbit
Rabbit

28 Sep 15

milter manager
milter manager

19 Feb 15

Test::Unit
Test::Unit

20 Jul 15

Commenti a Pikzie

I commenti non trovato
Aggiungi commento
Accendere le immagini!