forked from idealistdev/alfajor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
98 lines (76 loc) · 3.13 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Copyright Action Without Borders, Inc., the Alfajor authors and contributors.
# All rights reserved. See AUTHORS.
#
# This file is part of 'alfajor' and is distributed under the BSD license.
# See LICENSE for more details.
"""\
Alfajor
-------
Tasty functional testing.
Alfajor provides a modern, object-oriented and browser-neutral interface to
HTTP resources. With Alfajor, your Python scripts and test code have a live,
synchronized mirror of the browser's X/HTML DOM, even with DOM changes made on
the client by JavaScript.
alfajor provides:
- A straightforward 'browser' object, with an implementation that
communicates in real-time with live web browsers via Selenium and a fast,
no-javascript implementation via an integrated WSGI gateway
- Use a specific browser, or, via integration with the 'nose' test runner,
switch out the browser backend via a command line option to your tests.
Firefox, Safari, WSGI- choose which you want on a run-by-run basis.
- Synchronized access to the page DOM via a rich dialect of lxml, with great
time-saving shortcuts that make tests compact, readable and fun to write.
- Optional management of server processes under test, allowing them to
transparently start and stop on demand as your tests run.
- An 'apiclient' with native JSON response support, useful for testing REST
and web api implementations at a fine-grained level.
- A friendly BSD license.
An `in-development`_ version is also available
.. _`in-development`: http://github.com/idealist/Alfajor/zipball/master#egg=alfajor-dev
"""
from setuptools import setup, find_packages
import alfajor
version = alfajor.__version__
setup(name="alfajor",
version=version,
packages=find_packages(exclude=[
'*.tests', '*.tests.*', 'tests.*', 'tests']),
author='Action Without Borders, Inc.',
author_email='oss@idealist.org',
description='Tasty functional testing.',
keywords='testing test functional integration browser ajax selenium',
long_description=__doc__,
license='BSD',
url='http://github.com/idealist/Alfajor/',
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Browsers',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance',
],
entry_points={
'console_scripts': [
'alfajor-invoke=alfajor.utilities:invoke',
],
'nose.plugins.0.10': [
'alfajor = alfajor.runners.nose:Alfajor',
],
},
install_requires=[
'Werkzeug >= 0.6',
'lxml',
'blinker',
],
tests_require=[
'nose',
],
)