Attest-0.5.3
توضیحات
Modern, Pythonic unit testing.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | Attest-0.5.3 |
| نام | Attest |
| نسخه کتابخانه | 0.5.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dag Odenhall |
| ایمیل نویسنده | dag.odenhall@gmail.com |
| آدرس صفحه اصلی | https://github.com/dag/attest |
| آدرس اینترنتی | https://pypi.org/project/Attest/ |
| مجوز | Simplified BSD |
Attest
======
Attest is a unit testing framework built from the ground up with idiomatic
Python in mind. Unlike others, it is not built on top of unittest though it
provides compatibility by creating TestSuites from Attest collections.
It has a functional API inspired by `Flask`_ and a class-based API that
mimics Python itself. The core avoids complicated assumptions leaving you
free to write tests however you prefer.
.. _Flask: http://pypi.python.org/pypi/Flask/
::
from attest import Tests
math = Tests()
@math.test
def arithmetics():
assert 1 + 1 == 2
if __name__ == '__main__':
math.run()
نحوه نصب
نصب پکیج whl Attest-0.5.3:
pip install Attest-0.5.3.whl
نصب پکیج tar.gz Attest-0.5.3:
pip install Attest-0.5.3.tar.gz