A very simple test framework
Project description
PySimpleTest -- Make test as simple as possible
PySimpleTest is a very simple test framwork. To start using it, try following example:
Write a file main.py
:
from PySimpleTest import *
a = 2
should_be_equal(a, 2)
should_be_less(a, 1)
Then run it. You can get following cmd output:
Please see full documentation at https://github.com/Time-Coder/PySimpleTest
Release Note
1.0.9
- Fix
say
function not work problem.
1.0.8
- Make it can works in Python console mode
- Support lambda expression in
{should|must}_{be|become|keep}_{true|false}
andwait_until[_not]
functions - Add
{should|must}_[not_]raise
function - Add
gui_on
,gui_off
function to control gui on/off - Add
--gui {on|off}
terminal parameter to control gui on/off - Delay the gui and voice module loading to user call
gui_on
orvoid_on
1.0.7
- Fix issue #1:
should_be_true
works fine now; - Fix issue #2:
PySimpleTest
can run onLinux
andMac
now.
1.0.6
- Don't need
enable(enhance_func)
any more; - Fix "exit code not working" bug.
1.0.5
- Added
Section
class. User can useSection
with Pythonwith
syntax instead ofsection
,end_section
,subsection
.
1.0.2
- First release for all basic functions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PySimpleTest-1.0.9.tar.gz
(12.1 kB
view hashes)
Built Distribution
Close
Hashes for PySimpleTest-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade3c9b94fc320c9343a5ea688ddc3e73f57bc6b8d294a7b84ab014ba6be521b |
|
MD5 | 4cef3364ff06c7e577ec9e790c497384 |
|
BLAKE2b-256 | 8b9c83804e618866e7e7bfc88975da7bb607eaeb97482b53f45b87483877e3e3 |