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:
import PySimpleTest as pst
a = 2
pst.should_be_equal(a, 2)
pst.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.1.0
- Add
{should|must}_{keep|become}_[not_]raisingfunctions
1.0.9
- Fix
sayfunction 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_]raisefunction - Add
gui_on,gui_offfunction 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_onorvoid_on
1.0.7
- Fix issue #1:
should_be_trueworks fine now; - Fix issue #2:
PySimpleTestcan run onLinuxandMacnow.
1.0.6
- Don't need
enable(enhance_func)any more; - Fix "exit code not working" bug.
1.0.5
- Added
Sectionclass. User can useSectionwith Pythonwithsyntax instead ofsection,end_section,subsection.
1.0.2
- First release for all basic functions.
Release files for PySimpleTest 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PySimpleTest-1.1.0.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PySimpleTest-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.1 kB
Release files / PySimpleTest-1.1.0.tar.gz
| Download URL | PySimpleTest-1.1.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
652c6c6a23b84ea3685b46f19c1489d919f44c94101b2c0c82f67e41e4fe573c
|
|
BLAKE2b-256 checksum How to use checksums |
d96dd1e74a3bbe96146f87bfd1d6bd5a6faf49024aec6c01ec842ba66fb5a131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.2
|
Release files / PySimpleTest-1.1.0-py3-none-any.whl
| Download URL | PySimpleTest-1.1.0-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c872c012456ff760797bcb41302f4c692cf5da3e17565e866067f0091797bf4b
|
|
BLAKE2b-256 checksum How to use checksums |
9c15c73a8ae415d6eb5ed4ae62be8e9b5868effbb6608ae8efb8277880211e48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.2
|