Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mango_test_framework-0.1.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

mango_test_framework-0.1.0-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page