Pikzie

Software Screenshot:
Pikzie
Software Details:
Version: 1.0.1
Upload Date: 14 Apr 15
Developer: Kouhei Sutou
Distribution Type: Freeware
Downloads: 12

Rating: nan/5 (Total Votes: 0)

Pikzie is an easy to write and debug unit testing framework for Python.

Pikzie provides the following features that are lacked in unittest.py included in the standard Python distribution:

* Pythonic API
* a lot of assertions
* outputs result with useful format for debugging.

Install:

% sudo python setup.py install

Usage:


We assume that you have the following directory structure:

. -+- lib --- your_module --- ...
 |
 +- test -+- run-test.py
 |
 +- __init__.py
 |
 +- test_module1.py
 |
 +- ...


test/run-test.py is the following:

#!/usr/bin/env python

import sys
import os


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 are automatically loaded and defined tests are ran by invoking run-test.py like the following:

% test/run-test.py

What is new in this release:

  • fix wrong 'sorted' detection
  • improve message detection in assert_search_syslog_call

Requirements:

  • Python

Similar Software

lintswitch
lintswitch

15 Apr 15

mongonose
mongonose

11 May 15

Tail
Tail

3 Jun 15

botnee
botnee

20 Feb 15

Other Software of Developer Kouhei Sutou

milter manager
milter manager

19 Feb 15

rCairo
rCairo

10 Dec 15

Test::Unit
Test::Unit

20 Jul 15

Comments to Pikzie

Comments not found
Add Comment
Turn on images!