Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 68 lines (51 sloc) 1.64 kb
0b0de30 @dag long_description
dag authored
1 """
2 Attest
3 ======
4
5 Attest is a unit testing framework built from the ground up with idiomatic
6 Python in mind. Unlike others, it is not built on top of unittest though it
7 provides compatibility by creating TestSuites from Attest collections.
8
9 It has a functional API inspired by `Flask`_ and a class-based API that
10 mimics Python itself. The core avoids complicated assumptions leaving you
11 free to write tests however you prefer.
12
13 .. _Flask: http://pypi.python.org/pypi/Flask/
14
15 ::
16
17 from attest import Tests, Assert
18 math = Tests()
19
20 @math.test
21 def arithmetics():
22 Assert(1 + 1) == 2
23
24 if __name__ == '__main__':
25 math.run()
26
27 """
28
867c26f @dag setup.py, closes #2
dag authored
29 from setuptools import setup
30
31
32 setup(
6042efa @dag Rename to Attest
dag authored
33 name='Attest',
090737f @dag Devel version 0.4dev
dag authored
34 version='0.4dev',
867c26f @dag setup.py, closes #2
dag authored
35 description='Modern, Pythonic unit testing.',
0b0de30 @dag long_description
dag authored
36 long_description=__doc__,
867c26f @dag setup.py, closes #2
dag authored
37
38 author='Dag Odenhall',
39 author_email='dag.odenhall@gmail.com',
40 license='Simplified BSD',
094546b @dag Metadata updates
dag authored
41 url='https://github.com/dag/attest',
867c26f @dag setup.py, closes #2
dag authored
42
6042efa @dag Rename to Attest
dag authored
43 py_modules=['attest'],
a56c9ef @dag Test with Python 3.1, two tests fails
dag authored
44 packages=['tests'],
867c26f @dag setup.py, closes #2
dag authored
45
46 install_requires=[
47 'progressbar',
48 'pygments',
49 ],
50
6042efa @dag Rename to Attest
dag authored
51 test_loader='attest:Loader',
f8c4987 @dag Refactor the tests: how they're collected
dag authored
52 test_suite='tests.all',
a56c9ef @dag Test with Python 3.1, two tests fails
dag authored
53 use_2to3=True,
094546b @dag Metadata updates
dag authored
54 zip_safe=False,
6e0d257 @dag Run tests with distribute
dag authored
55
867c26f @dag setup.py, closes #2
dag authored
56 classifiers=[
eecf0dd @dag Release: 0.1
dag authored
57 'Development Status :: 3 - Alpha',
867c26f @dag setup.py, closes #2
dag authored
58 'Intended Audience :: Developers',
59 'License :: OSI Approved :: BSD License',
60 'Programming Language :: Python',
61 'Programming Language :: Python :: 2.5',
62 'Programming Language :: Python :: 2.6',
63 'Programming Language :: Python :: 2.7',
094546b @dag Metadata updates
dag authored
64 'Programming Language :: Python :: 3.1',
867c26f @dag setup.py, closes #2
dag authored
65 'Topic :: Software Development :: Testing',
66 ]
67 )
Something went wrong with that request. Please try again.