# 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!
Raw data
{
"_id": null,
"home_page": "https://github.com/najasnake12/mango-test",
"name": "mango-test-framework",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Scott",
"author_email": "pessiartist@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/70/fe/9f5ec17e8fd54956787e79e7bb8f59d7af7c6bc964ded0e40313eb9077a9/mango_test_framework-0.1.0.tar.gz",
"platform": null,
"description": "# Mango Test\r\nA simple testing framework in python.\r\n\r\nHOW TO USE:\r\nFirstly enter the command in your terminal: pip install mango_test_framework\r\nafter that go to your python code and type: from mango_test_framework import mangostart, mangoend, summary\r\nThis imports the package.\r\nThen you need to wrap the code you want to test inside mangostart() and mangoend()\r\n\r\nThis is an example:\r\nmangostart()\r\ncode = \"\"\"\r\nx = 1\r\ny = 1\r\nassert x + y == 2\r\n\"\"\"\r\nmangoend(code)\r\n\r\n*Note that you need to add the variable you have the code you want to test as an argument inside mangoend()*\r\n\r\nENJOY!\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple testing framework in Python.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/najasnake12/mango-test"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4a16b073e84fb7a4102b5424f618eab0f368ee25b5d429c22b04d6e27ee64e62",
"md5": "afbce730b1f97e1f1436f7c030f06526",
"sha256": "a651514d0ea63b0c9d1ed0bdb5e38afc5058fb975cd2b279d6cb57df2a852398"
},
"downloads": -1,
"filename": "mango_test_framework-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "afbce730b1f97e1f1436f7c030f06526",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2577,
"upload_time": "2024-08-30T19:16:56",
"upload_time_iso_8601": "2024-08-30T19:16:56.905989Z",
"url": "https://files.pythonhosted.org/packages/4a/16/b073e84fb7a4102b5424f618eab0f368ee25b5d429c22b04d6e27ee64e62/mango_test_framework-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "70fe9f5ec17e8fd54956787e79e7bb8f59d7af7c6bc964ded0e40313eb9077a9",
"md5": "5e0cd1876ca4d076f18c32256d4316b6",
"sha256": "9ae986df02f7052fa385bf0ef5db65e470abdf8131583c41c64539a99f86ef64"
},
"downloads": -1,
"filename": "mango_test_framework-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "5e0cd1876ca4d076f18c32256d4316b6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2197,
"upload_time": "2024-08-30T19:16:58",
"upload_time_iso_8601": "2024-08-30T19:16:58.431045Z",
"url": "https://files.pythonhosted.org/packages/70/fe/9f5ec17e8fd54956787e79e7bb8f59d7af7c6bc964ded0e40313eb9077a9/mango_test_framework-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-30 19:16:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "najasnake12",
"github_project": "mango-test",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mango-test-framework"
}