holger krekel
36288c5134
fix issue493: don't run tests in doc directory with ``python setup.py test``
...
(use tox -e doctesting for that)
2014-04-02 12:48:35 +02:00
holger krekel
e061ace099
fix toxenv spec for py33-pexpect, thanks Daniel Grana.
2014-03-28 14:51:00 +01:00
Daniel Grana
0cb9d26d83
add py33-trial tox environment
2014-03-28 10:44:51 -03:00
holger krekel
bb0632c7ad
extend test
2014-03-26 19:37:49 +01:00
holger krekel
c70d020bf3
allow positional args to tox invocation
2014-01-27 12:42:06 +01:00
holger krekel
6d26c44895
remove py25 from automated testing
2013-12-12 08:16:16 +01:00
holger krekel
4f0879ff9b
refactor internal finalization mechanics such that all fixture arguments
...
in a test invocation will have a corresponding FixtureDef instance.
also fixes issue246 (again).
simplify parametrized fixture teardown by making it work lazy:
during the setup of a parametrized fixture instance any previously
setup instance which was setup with a different param is torn down
before setting up the new one.
2013-12-07 16:37:46 +01:00
holger krekel
bd8a2cc18c
removing pexpect from general dependencies because
...
it doesn't install on windows anymore. Instead
to specific configurations for pexpect on py27 and py33
which only call the tests that need it.
2013-11-20 20:00:59 +01:00
holger krekel
6d1b7e94d1
add py33-xdist to tox testing
2013-11-20 16:03:55 +01:00
holger krekel
7f49e0fddc
xfail a test on pypy that checks wrong encoding/ascii (pypy does
...
not error out). fixes issue385.
also re-enable pypy tests in tox.
2013-11-19 11:18:51 +01:00
holger krekel
1fd1617427
fix pexpect-3.0 compatibility for pytest's own tests.
...
(fixes issue386)
2013-11-19 10:10:27 +01:00
holger krekel
8ac5af2896
fix flakes issues and make --flakes run part of tox runs
2013-10-12 15:39:22 +02:00
holger krekel
2c7d00579b
bump version, some windows test fixes, prevent logging from raising exceptions at the end (finally), add py25 to tox.ini.
2013-09-30 16:09:26 +02:00
Anatoly Bubenkov
0cd7effe35
fix broken python3 and python2.5 tests
...
--HG--
branch : fix-broken-tests
2013-08-15 11:52:55 +02:00
holger krekel
57f997b0b4
strike distribute dep
2013-08-11 18:19:58 +02:00
holger krekel
0755d0605f
remove automatic tox-testing of py25
2013-08-08 13:18:46 +02:00
Anthon van der Neut
87860600fb
Fixes for argcomplete
...
- separate out most argcomplete related stuff in new file _argcomplete.py
(could probably be in the py library)
- allow positional arguments to be interspaced with optional arguments
( + test in test_parseopt.py )
- removed double argument in tox.ini
- add documentation on installing argcomplete (>=0.5.7 as needed for
Python 3), might need improving/incorporation in index.
This does not work on 2.5 yet. I have patches for argcomplete
(with/print()/"".format) but I am not sure they will be accepted.
Agreed with hpk not to push for that.
Removing argcomplete and leaving completion code active now works by early
exit, so <TAB> no longer re-runs the programs without parameters
(which took long for py.test)
test calls bash with a script that redirects filedescriptor 8 (as used by
argcomplete), so the result can be tested.
--HG--
branch : argcomplete
2013-07-30 11:26:15 +02:00
Anatoly Bubenkov
1736242bd7
add travis integration, fixes for py25 and py27 no pyc tox env
...
--HG--
branch : travis-integration
2013-07-06 14:23:02 +02:00
holger krekel
c4c966683c
fix issue323 - parametrize() of many module-scoped params
2013-06-28 12:57:10 +02:00
holger krekel
8a0a18e9b3
- add Brianna (@pfctdayelise ) to changelog and contributors
...
- fix some broken tests on py32/py33 (related to issue308 merge)
- re-format docstrings
-
2013-05-22 15:24:58 +02:00
holger krekel
3279cfa28b
don't use indexservers anymore
2013-05-07 16:26:56 +02:00
holger krekel
712898cfe1
- add release announce
2013-03-28 10:21:03 +01:00
holger krekel
3785f1aae3
make dev pytest depend on installing from pypi.testrun.org
2013-02-14 11:57:32 +01:00
holger krekel
d0e18ac63f
issue250 unicode/str mixes in parametrization names and values now works
2013-02-12 23:30:34 +01:00
holger krekel
296f752cca
fix --genscript option to generate standalone scripts that also
...
work with python3.3 (importer ordering)
2013-02-12 22:59:29 +01:00
holger krekel
e7a86caac2
strike python3.1 tox testing, 3.2 and 3.3 is enough
2013-02-12 20:44:04 +01:00
holger krekel
c5f587d6db
don't test on py24 for now because tox/virtualenv-1.8 does not support
...
python2.4
2013-01-26 14:49:33 +01:00
holger krekel
765b053984
bump version, add announcement, regen docs
2012-11-20 13:42:00 +01:00
holger krekel
ff0c75aa34
- add a Package/dir level setup example
...
- make tox.ini's doc/regen use pytest release instead of dev version
2012-11-07 11:11:40 +01:00
holger krekel
65d6ebe7d1
bump to 2.3.3, add release announce
2012-11-06 14:41:10 +01:00
holger krekel
dba2a8bc64
fix issue217 - to support @mock.patch with pytest funcarg-fixtures, also split out python integration tests into python/integration.py and fix nose/mark tests
2012-11-06 11:04:11 +01:00
holger krekel
d5ad91c64f
fix issue209 - depend on pylib dev version which again supports python2.4
2012-11-05 12:21:58 +01:00
holger krekel
ba9b27fcd3
fix issue215 - refactor test_python.py into multiple files:
...
- python/collect.py cotaining the core collection nodes
- python/fixture.py containing funcargs/fixture code
- python/metafunc.py generate_tests and metafunc usage
- python/raises.py the pytest.raises implementation
2012-11-02 16:04:57 +01:00
holger krekel
6ad16936bb
bump version to 2.3.2, regen docs and changelog
2012-10-25 13:48:31 +02:00
holger krekel
bcb8dc71d2
fix issue208 and fix issue29 - avoid long pauses in traceback printing
...
by using the new getstatementrange() code of the py lib which uses
AST-parsing rather than the previous heuristic which had O(n^2) complexity
(with n = len(sourcelines))
- require new (in-dev) py version to
2012-10-25 12:08:11 +02:00
holger krekel
036557ac18
fix issue206 - unset PYTHONDONTWRITEBYTECODE in assertrewrite test
2012-10-22 11:14:18 +02:00
holger krekel
1b61fbc8ed
- fix test_nose.py by being more tolerant about the error message
...
(differs between py32 and py33, thanks Arfrever)
- use pypi again now that py is released
2012-10-22 10:55:59 +02:00
holger krekel
a5ce481022
final touches
2012-10-19 11:12:13 +02:00
holger krekel
024df6e00b
some more finalization of docs
2012-10-19 10:07:11 +02:00
holger krekel
5e28f461c8
avoid recursing into "ja" japanese examples
2012-10-18 15:32:30 +02:00
holger krekel
7c8755cc89
refine docs, fix a marker/keywords bit, and add a test that request.keywords points to node.keywords.
2012-10-18 15:06:55 +02:00
holger krekel
dbaedbacde
many doc improvements and fixes
2012-10-18 12:24:50 +02:00
holger krekel
30b10a6950
- fix doc references, refactor fixtures docs to more quickly start
...
with examples instead of big text blobgs
- also silence -q and -qq reporting some more
2012-10-07 13:06:17 +02:00
holger krekel
7bc7a9b702
add py33 to tox.ini, report pypy-1.9 as working as well
2012-10-01 10:31:04 +02:00
holger krekel
646c2c6001
drops special testcontext object in favour of "old" request object, simplifying communication and code for the 2.2-2.3 transition. also modify docs and examples.
2012-09-17 16:36:10 +02:00
holger krekel
91b6f2bda8
mid-scale refactoring to make request API available directly on items.
...
This commit was slightly tricky because i want to backward
compatibility especially for the oejskit plugin which
uses Funcarg-filling for non-Function objects.
2012-06-25 17:35:33 +02:00
holger krekel
42d44bfd43
fix some pep8 issues, more to go ... is there a tool that helps with pep8-ifying?
2012-06-21 11:20:29 +02:00
holger krekel
ccc04b9fc4
some refinements to reporting and hook order
2012-06-21 11:07:22 +02:00
holger krekel
1bbe1d086c
fix issue160 a failing setup of an xfail-marked tests should
...
be reported as xfail (not xpass)
2012-06-19 23:48:39 +02:00
holger krekel
63eacd9dd5
fix comment handling
2012-06-12 13:41:29 +02:00