A simple testing framework in Python.
Project description
Mango Test
A simple testing framework in python.
HOW TO USE: Firstly enter the command in your terminal: pip install mango_test_framework after that go to your python code and type: from mango_test_framework import mangostart, mangoend, summary This imports the package. Then you need to wrap the code you want to test inside mangostart() and mangoend()
This is an example: mangostart() code = """ x = 1 y = 1 assert x + y == 2 """ mangoend(code)
Note that you need to add the variable you have the code you want to test as an argument inside mangoend()
ENJOY!
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
Built Distribution
Close
Hashes for mango_test_framework-0.1.0.tar.gz
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 9ae986df02f7052fa385bf0ef5db65e470abdf8131583c41c64539a99f86ef64 |
|
| MD5 | 5e0cd1876ca4d076f18c32256d4316b6 |
|
| BLAKE2b-256 | 70fe9f5ec17e8fd54956787e79e7bb8f59d7af7c6bc964ded0e40313eb9077a9 |
Close
Hashes for mango_test_framework-0.1.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | a651514d0ea63b0c9d1ed0bdb5e38afc5058fb975cd2b279d6cb57df2a852398 |
|
| MD5 | afbce730b1f97e1f1436f7c030f06526 |
|
| BLAKE2b-256 | 4a16b073e84fb7a4102b5424f618eab0f368ee25b5d429c22b04d6e27ee64e62 |