Bruno Oliveira
f31447b82b
Use hypothesis >= 3.5.2
...
Related to #1962
2016-09-26 09:08:30 -03:00
Bruno Oliveira
73cab77249
Pin hypothesis to 3.5.0 because 3.5.1 breaks the test suite
...
Related to HypothesisWorks/hypothesis-python#368
2016-09-25 18:52:27 -03:00
Bruno Oliveira
519f02b014
docs warnings as errors and initial page similar to README
...
* Changed "index" to be more similar to the README (#1708 ).
* Fixes numerous issues like missing documents, syntax errors, etc (#1829 , #432 ).
* Mention all docs in "contents.rst" so it's easier for users to locate (#1112 ).
* Add doc generation and checking to Travis and AppVeyor, to avoid re-introducing errors.
Fixes #432 , Fixes #1112 , Fixes #1708 , Fixes #1829
2016-08-26 17:47:18 -03:00
Bruno Oliveira
6a0e849067
Update HOWTORELEASE based on the 3.0.0 release
2016-08-20 15:47:34 -03:00
Bruno Oliveira
0334e75c30
Use "pytest" instead of "py.test" on trial environments
2016-08-18 08:37:55 -03:00
Bruno Oliveira
463e6572c5
Merge branch 'master' into merge-master-into-features
...
Preparing for 3.0
2016-08-17 22:39:23 -03:00
Bruno Oliveira
92498109e4
Enable py35-trial testenv on Windows
2016-08-17 21:20:12 -03:00
Bruno Oliveira
802755ceed
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2016-08-06 17:58:17 -03:00
Bruno Oliveira
ed36d627e4
Use PyInstaller for freeze test env
...
cx_freeze doesn't seem to be very well supported in Python 3.5.
Using pyinstaller instead and rename environment to "freeze" which
is a more generic term for freezing python code into standalone
executables.
Fix #1769
2016-07-26 22:02:37 -03:00
Ronny Pfannschmidt
b9a91dc112
merge from master to features
2016-07-06 11:51:48 +02:00
Bruno Oliveira
10c5e6fd9c
Split AppVeyor test runs in multiple jobs to avoid timeout issues
...
Some of our builds have been timing out (over 1 hour),
on AppVeyor
2016-07-04 21:54:21 -03:00
Dave Hunt
ef9dd14963
Introduce pytest command as recommended entry point
...
Fixes #1629
2016-06-21 16:16:57 +02:00
Bruno Oliveira
92323895c9
Use same python which invoked tox for "doctesting" env
...
This will work for Travis and AppVeyor because both start tox using Python 3
2016-06-08 21:06:19 -03:00
Bruno Oliveira
2c4b76b754
Use same python which invoked tox for "doctesting" env
...
This will work for Travis and AppVeyor because both start tox using Python 3
2016-06-01 20:30:26 -03:00
Ronny Pfannschmidt
b5bd4d959d
merge master to features
2016-06-01 08:13:26 +02:00
Ronny Pfannschmidt
978bb190a1
add release announcement
2016-05-31 19:06:29 +02:00
Ronny Pfannschmidt
d3dcc2b8f1
bump regendoc python version to 3.5
2016-05-31 19:05:36 +02:00
Ronny Pfannschmidt
26b526967e
merge from master again
2016-05-23 22:33:00 +02:00
Bruno Oliveira
561a5fb558
Move comment in tox.ini due to recent bug in pip
...
As discussed in #1554
* https://bitbucket.org/hpk42/tox/issues/332/
* https://github.com/pypa/pip/issues/3667
2016-05-18 16:15:29 -03:00
Ceridwen
23a8e2b469
Add .hypothesis to .gitignore and try an older version of Hypothesis for 2.6
2016-04-02 11:47:37 -04:00
Ceridwen
08671fcf4a
Fix the changelog and dependencies for tox
2016-04-02 10:52:28 -04:00
Ceridwen
491b30c5d9
Add Hypothesis test for _idval and fix bug it found
2016-04-01 22:45:44 -04:00
Bruno Oliveira
89c75b2c91
Fix tox doc task
2016-02-13 02:09:25 -02:00
Ronny Pfannschmidt
7b2956e10b
merge latest master into features as well
2016-02-05 00:13:48 +01:00
Ronny Pfannschmidt
de1a9f574c
merge from master
2016-02-05 00:10:28 +01:00
Bruno Oliveira
30e61f2777
Test with pypy and enable coveralls in AppVeyor
...
* Install pypy using chocolatey
* Enable coveralls test environment in AppVeyor
* Suggest maintaining build matrix in .travis.yml by using "tox --listenvs"
Fix #1254
2016-02-01 17:40:30 -02:00
Ronny Pfannschmidt
56c5db6e12
add requests dependency to tox.ini to ensure all monkeypatch tests run
2016-01-24 12:30:38 +01:00
Bruno Oliveira
199fcf93d4
Merge branch 'master' into 'features'
2016-01-22 18:32:45 -02:00
Bruno Oliveira
7b13c4bec0
Fix flakes
2016-01-14 21:01:57 -02:00
Bruno Oliveira
3daa0756eb
Add CHANGELOG.rst to MANIFEST and small format fix
2016-01-05 20:01:41 -02:00
Bruno Oliveira
3e34db50fb
Rename "flakes" testenv to "linting" as requested in review
2016-01-05 18:18:29 -02:00
Bruno Oliveira
02dd6df6e6
Changelog now in rst format (2.9.0 and onward) and add rst-lint check
...
Fix #1274
2016-01-03 23:09:24 -02:00
Bruno Oliveira
031a20699c
Use py35 as preferred py3 interpreter for special test environments
2015-09-26 03:37:21 -03:00
Ronny Pfannschmidt
c3588b545f
generate docs on python3.4
2015-09-22 16:52:35 +02:00
Ronny Pfannschmidt
89badfec0c
update regendoc, substitutes PYTHON_PREFIX
2015-09-22 14:48:04 +02:00
Ronny Pfannschmidt
662d755974
fix documentation gegeneration, kill Makefile
2015-09-22 14:22:37 +02:00
Bruno Oliveira
546093175e
White list rm for cxfreeze env
2015-09-17 23:34:09 -03:00
Ronny Pfannschmidt
1de38a25fc
use flake8 in the flakes testenv
...
and extend the ignored errors list so pytest is clean
we def have to trim down that one
2015-09-13 19:55:44 +02:00
Bruno Oliveira
359f248729
Force to use xdist >= 1.13
2015-08-18 07:35:03 -03:00
Bruno Oliveira
df29120abe
Merge branch 'pytest-2.7'
...
Conflicts:
_pytest/config.py
_pytest/genscript.py
_pytest/mark.py
tox.ini
2015-07-23 22:35:51 -03:00
Bruno Oliveira
5a17e797c7
Fix basepython for tox envs "doctesting" and "coveralls"
...
Because we are currently using "nighly" python for travis, which
uses python 3.6 as the default interpreter. This breaks the environments
listed above because "inspect.getargspec" has been removed in py36.
2015-07-23 21:15:45 -03:00
Anatoly Bubenkov
045274e647
remove merge artifact
2015-07-19 15:49:43 +02:00
Anatoly Bubenkov
6af7172204
Merge branch 'pytest-2.7'
2015-07-19 15:25:04 +02:00
Thomas Kluyver
15497dcd77
OK, try running flakes with 2.7
2015-07-18 13:16:47 -03:00
Thomas Kluyver
8a0867c580
Try running flakes tests with Python 3.4
2015-07-18 13:16:47 -03:00
Matthias Bussonnier
195afa0733
try isntall 35 on tox
2015-07-18 13:16:08 -03:00
Bruno Oliveira
330de0a93d
Use a subdirectory in the TEMP directory to speed up tmpdir creation
...
Fix #105
2015-07-16 19:50:49 -03:00
Thomas Kluyver
4e98d2b7f1
OK, try running flakes with 2.7
2015-07-15 15:52:28 -07:00
Thomas Kluyver
d73c8e6a5e
Try running flakes tests with Python 3.4
2015-07-15 15:49:15 -07:00
Matthias Bussonnier
71a00c3223
try isntall 35 on tox
2015-07-15 13:49:40 -07:00
Bruno Oliveira
7a71b69a87
Pinning mock module to < 1.1 fo py26
...
It has been announced that mock>=1.1 will be
supported for python 2.7 only.
Conflicts:
tox.ini
2015-07-13 13:43:03 -03:00
Bruno Oliveira
65c56d4c00
Pinning mock module to < 1.1 fo py26
...
It has been announced that mock>=1.1 will be
supported for python 2.7 only.
2015-07-10 19:57:48 -03:00
holger krekel
01f5913826
try to fix coveralls env
2015-06-23 23:25:19 +02:00
holger krekel
ee40ea5f6d
Merge branch 'pytest-2.7'
...
Conflicts:
AUTHORS
_pytest/__init__.py
setup.py
testing/conftest.py
tox.ini
2015-06-23 16:49:05 +02:00
holger krekel
e84c00efae
finish pytest-2.7.2 release
2015-06-23 16:31:24 +02:00
Anatoly Bubenkov
73f37d0989
split travis jobs
...
Conflicts:
README.rst
2015-06-17 00:22:34 -03:00
Anatoly Bubenkov
b38cadbecd
pass coveralls env
2015-06-16 02:38:52 +02:00
Anatoly Bubenkov
edfadf3a7c
pass coveralls env
2015-06-16 01:12:24 +02:00
Anatoly Bubenkov
f2494ecb3d
split travis jobs
2015-06-16 00:49:55 +02:00
holger krekel
c4bd3c672b
another try at ignoring cx_freeze during other tox envs
2015-05-07 12:19:35 +02:00
holger krekel
52354b9ab5
try to ignore cx_freeze from regular pytest runs and see if travis is happy
2015-05-07 12:02:14 +02:00
holger krekel
db5649ec6a
streamline pytester API majorly:
...
- integrate conftest into pytester plugin
- introduce runpytest() to either call runpytest_inline (default) or
runpytest_subprocess (python -m pytest)
- move testdir.inline_runsource1 to pdb tests
- strike some unneccessary methods.
- a new section "writing plugins" and some better pytester docs
--HG--
branch : testrefactor
2015-04-28 11:54:53 +02:00
holger krekel
424e5d1394
make test suite more tolerable against xdist causing warnings itself (which it does
...
currently)
--HG--
branch : plugtestfix
2015-04-27 15:06:47 +02:00
Bruno Oliveira
6fe5493c3c
Fix py27-cxfreeze tox environment
...
Use a custom script to install a patched version of cx_freeze,
as required in Ubuntu 14.04 systems
--HG--
branch : cx_freeze_ubuntu
2015-04-22 19:46:06 -03:00
holger krekel
d2a8866bce
bump verrsion to python2.7, fix a too precise test for windows, regen docs
2015-03-26 09:34:10 +01:00
Anatoly Bubenkov
c69978fbb0
revert verbosity
2015-03-24 13:41:49 +01:00
Anatoly Bubenkov
c1eaa72883
correct config
2015-03-24 11:56:59 +01:00
Anatoly Bubenkov
55f3ffd2ba
add verbosity to the tests
2015-03-24 10:51:45 +00:00
holger krekel
25a4d7d882
remove default-verbose running
2015-03-17 13:19:26 +01:00
Anatoly Bubenkov
33c2a3a3e5
make loop more readable
...
--HG--
branch : parametrized-fixture-override
2015-03-02 08:55:57 +01:00
Bruno Oliveira
37631dbfa0
added plugins_index page generation to tox
...
Also minor improvements in the page:
- Removed version from plugin name
- Using "home" instead of "repo", seems more appropriate
- Reduced default verbosity
2014-09-27 12:28:29 -03:00
Bruno Oliveira
5873ca5146
Merging with default
...
--HG--
branch : cx_freeze-support
2014-08-11 20:07:11 -03:00
holger krekel
e5eaf02e19
finalize pytest-2.6.1 release, regen docs
2014-08-07 21:41:51 +02:00
Bruno Oliveira
b7b96b24d8
Docs about cx_freeze support and minor adjustments
...
--HG--
branch : cx_freeze-support
2014-07-30 21:50:00 -03:00
Bruno Oliveira
990e7bf3b9
first implementation and tox environment for cx-freeze support
...
--HG--
branch : cx_freeze-support
2014-07-30 19:16:51 -03:00
holger krekel
ff2c18fedb
bump version, preliminary announcement
2014-07-17 16:38:54 +02:00
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
holger krekel
7b95af2400
only run test_unittest.py for the twisted/trial config
2011-12-28 17:43:56 +00:00
holger krekel
4a08ee2b74
remove debugging-changes to tox.ini
2011-12-14 11:29:25 +00:00
holger krekel
82ba764bb6
fix unorderable types as reported by Ralf Schmitt
2011-12-14 10:56:51 +00:00
holger krekel
94e31e414a
bump version depend on new pylib
2011-12-12 12:45:28 +00:00
holger krekel
d4fe273b2f
fix FD leakage during pytest's own test run and add "--lsof" option to tox default test runs.
...
the leakage came down to a problematic bit of the stdlib logging module: it takes ownerships of stdout/stderr making it hard for pytest to implement clean capturing. The current work around is to add some extra code in the setup machinery of pytest's own tests which actually closes sub-FDs.
2011-11-06 15:40:17 +00:00
holger krekel
3bd3ba133f
fix issue75 - test failure on jython.
...
also experimentally enable more tests in the jython test env.
2011-09-25 07:40:43 +02:00
holger krekel
09933b8b04
bump to 2.1.1, regen examples, add release announcement
2011-08-20 18:37:00 +02:00
holger krekel
85118e9019
needs pypi.testrun.org for now to pull py lib
2011-07-08 23:09:41 +02:00
holger krekel
c2cdc66eca
only invoke distribute's use_setuptools when there is no setuptools installed
2011-07-08 22:58:22 +02:00
holger krekel
ae9b7a8bea
use pypi.testrun.org so that py>1.4.0 gets picked up correctly
2011-01-12 18:03:55 +01:00
holger krekel
1b3fb3d229
fix issue15 - tests for python3/nose-1.0 combo work now
2011-01-11 17:27:34 +01:00
holger krekel
2e80512bb8
fix issue8 : avoid errors caused by logging module wanting to close already closed streams.
...
The issue arose if logging was initialized while capturing was enabled
and then capturing streams were closed before process exit, leading
to the logging module to complain.
2010-12-06 16:56:12 +01:00
holger krekel
c7531705fc
refine plugin registration, allow new "-p no:NAME" way to prevent/undo plugin registration
2010-12-06 16:54:42 +01:00
holger krekel
752965c298
add some docs and new projects
2010-12-06 10:41:20 +01:00
holger krekel
96a687b97c
make pytest test suite pypy ready
2010-11-27 16:40:52 +01:00
holger krekel
d894bae281
bumping version to a dev version, run tests by using python PyPI by default
2010-11-26 13:37:00 +01:00
holger krekel
4cb2c74159
introduce new discovery mechanism
...
XXX experiment with using it before introducing it or wait
for feature request
2010-11-24 22:01:04 +01:00
holger krekel
9be1cd8007
fix #6 : allow skip/xfail/pdb with trial by hacking the raw exception info out from trial
2010-11-24 11:48:55 +01:00
holger krekel
11e8e5570e
depend on py, not pylib distro
2010-11-23 17:21:34 +01:00
holger krekel
f456e376b9
refine tmpdir handling and docs
...
- clear tmpdir specified with --basetemp
- remove config.mktmp and config.getbasetemp methods
2010-11-21 17:43:18 +01:00
holger krekel
eaf68c1ffd
better deal with importing conftest.py with --doctest-modules and
...
re-enable default of "--doctest-modules" even if issued at root level
2010-11-18 15:31:58 +01:00
holger krekel
5a2295ada5
fix bare "py.test" runs without a directory by not defaulting to --doctest-modules which will virtually import everything
2010-11-18 15:19:20 +01:00
holger krekel
582486d531
refine docs and docstrings, fix some small bits here and there while doing that.
2010-11-18 14:56:16 +01:00
holger krekel
acd286f82f
run doctests in .txt/.rst files directly specified on command line irrespective of "test*.txt" pattern.
2010-11-17 14:33:21 +01:00
holger krekel
a298cf753d
some pep8 fixes
2010-11-13 23:33:50 +01:00
holger krekel
1bc444d5c8
some fixes to make cross linux/windows remote testing work again
2010-11-13 19:46:28 +01:00
holger krekel
929291775e
flat is better than nested (cont'd):
...
- pytest.py is new module, making "python -m pytest" work always
- _pytest/*.py now contains core.py, hookspec and the plugins, no sub packages
2010-11-13 11:10:45 +01:00
holger krekel
5bec71edc4
adapt to simplified tox indexserver definition
2010-11-08 21:13:24 +01:00
holger krekel
51fa358d8a
adapt to new tox indexserver syntax
2010-11-08 17:36:45 +01:00
holger krekel
07b67d36c4
install dependency from pytest distribution, not prior.
2010-11-08 09:22:14 +01:00
holger krekel
55dff651f4
refine initilization: read config also from a "pytest.ini" file if exists
...
and revert earlier commandline option and group ordering change.
2010-11-07 16:10:22 +01:00
holger krekel
d0ac4135a2
introduce an option that avoids discovery of classes other than unittest.TestCase in modules
...
importing unittest.
2010-11-06 23:45:48 +01:00
holger krekel
6dac77433e
majorly refactor collection process
...
- get rid of py.test.collect.Directory alltogether.
- introduce direct node.nodeid attribute
- remove now superflous attributes on collect and test reports
2010-11-06 09:58:04 +01:00
holger krekel
85c24b7fa1
some test fixes and refinements
2010-11-01 08:16:10 +01:00
holger krekel
8871ca5bfa
introduce "-q" option which decreases verbosity and basically leads to a unittest/nosetest-style "." output
...
add it in an ini file like this:
[pytest]
addargs=-q
and you get that by default.
2010-10-31 19:51:16 +01:00
holger krekel
b6ec5a575d
get option settings from ini-file. make getting configuration options from conftest.py only an internal feature.
...
--HG--
branch : trunk
2010-10-31 17:41:58 +01:00
holger krekel
b86b1628bb
introduce reading of setup.cfg / ini-style configuration files
...
rename internal config.Error to pytest.UsageError
--HG--
branch : trunk
2010-10-27 19:35:27 +02:00
holger krekel
29222dffc9
add a genscript target
...
--HG--
branch : trunk
2010-10-26 10:09:41 +02:00
holger krekel
47e56e0dee
streamline tox ini
...
--HG--
branch : trunk
2010-10-21 16:10:46 +02:00
holger krekel
e3f48a81c5
skip tests that want to invoke py.test without proper installation
...
--HG--
branch : trunk
2010-10-20 22:10:35 +02:00
holger krekel
5701ffa8d6
also fix py31 tox.ini entry
...
--HG--
branch : trunk
2010-10-20 21:08:21 +02:00
holger krekel
87e9cb9bec
reconfig tox.ini to care use testrun.org for installation of sdist
...
--HG--
branch : trunk
2010-10-20 21:01:01 +02:00
holger krekel
976549cc88
fixing jython specs for testing
...
--HG--
branch : trunk
2010-10-15 21:12:06 +02:00
holger krekel
bf1cd25831
use testrun indexserver, remove hudson artifact handling
...
--HG--
branch : trunk
2010-10-15 20:35:21 +02:00
holger krekel
1b7d2b07ab
some fixes to packaging and urls
...
--HG--
branch : trunk
2010-10-15 00:54:25 +02:00
holger krekel
251fb0ab1c
various documentation related refinements
...
--HG--
branch : trunk
2010-10-12 10:59:04 +02:00
holger krekel
652d0ca636
fix tox.ini and dependencies, various fixes all around, tests pass.
...
--HG--
branch : trunk
2010-10-10 13:48:49 +02:00
holger krekel
a6003ac332
some fixes after the merge
...
--HG--
branch : trunk
2010-10-02 20:49:24 +02:00
holger krekel
e2c11f1ddb
fix python3 issues, add py32 environment
...
--HG--
branch : trunk
2010-09-28 17:37:20 +02:00
holger krekel
88915aa57d
fix tox.ini invocation
...
--HG--
branch : trunk
2010-09-28 15:58:23 +02:00
holger krekel
6aab9bcfb9
another whitespace-correction commit
...
--HG--
branch : trunk
2010-07-30 15:05:24 +02:00
holger krekel
74523a9d09
avoid loading conftest files which are exactly the same content as a previously loaded conftest file
...
--HG--
branch : trunk
2010-07-29 11:22:16 +02:00
holger krekel
1ffe0e7b82
using improved versioing
...
--HG--
branch : trunk
2010-07-07 18:08:16 +02:00
holger krekel
4d4344212f
fixing a doc reference, removing development dependency
...
--HG--
branch : trunk
2010-07-07 16:37:28 +02:00
holger krekel
eddd16d9fd
progressing towards 1.3.2, adding announcement, regen docs
...
--HG--
branch : trunk
2010-07-07 15:41:28 +02:00
holger krekel
320835d43f
split out pytest-xdist related reporting to the plugin
...
--HG--
branch : trunk
2010-07-07 12:41:15 +02:00
holger krekel
48d818742c
adjust tox.ini
...
--HG--
branch : trunk
2010-07-06 12:04:22 +02:00
holger krekel
2b13836efa
use the new sdistfile option
...
--HG--
branch : trunk
2010-07-05 18:40:49 +02:00
holger krekel
195d066ff8
skip sdist on hudson
...
--HG--
branch : trunk
2010-07-05 17:14:20 +02:00
holger krekel
1e8b59e39f
updating tox.ini to new format
...
--HG--
branch : trunk
2010-07-05 15:55:21 +02:00
holger krekel
b28c439494
some minor compatibility issues wrt to the just released python2.7
...
--HG--
branch : trunk
2010-07-04 22:13:12 +02:00
holger krekel
223a04be27
fix doc env
...
--HG--
branch : trunk
2010-07-04 19:16:49 +02:00
holger krekel
3aefaff44f
improve testing of docs
...
--HG--
branch : trunk
2010-07-04 18:25:22 +02:00
holger krekel
e533e63bbf
enable some more tests
...
--HG--
branch : trunk
2010-07-04 13:56:03 +02:00
holger krekel
be582b5f53
don't use dist-testing with jython to uncomplicate the testing matter
...
--HG--
branch : trunk
2010-07-03 14:54:48 +02:00
holger krekel
ca9b320c9c
update again
...
--HG--
branch : trunk
2010-07-03 14:30:47 +02:00
holger krekel
ace2f975ea
update tox.ini according to tox progress
...
--HG--
branch : trunk
2010-07-03 14:29:43 +02:00
holger krekel
e3250f4846
another correction
...
--HG--
branch : trunk
2010-07-02 15:33:36 +02:00
holger krekel
29217a47f4
updated tox.ini
...
--HG--
branch : trunk
2010-07-02 15:26:03 +02:00
holger krekel
8c0dfb525d
use the new envbindir subst
...
--HG--
branch : trunk
2010-07-02 10:15:30 +02:00
holger krekel
aa4308883c
py.test-1.3.1 does not provide py.test proper for jython, only py.test-jython
...
(py.test-1.3.2 will provide py.test even for jython installs)
--HG--
branch : trunk
2010-07-01 19:54:28 +02:00
holger krekel
381b81b0e1
actually run only "testing" tests
...
--HG--
branch : trunk
2010-07-01 19:46:22 +02:00
holger krekel
7335c4d06d
add jython env
...
--HG--
branch : trunk
2010-07-01 19:43:46 +02:00
holger krekel
6fa58fd8c9
(ARGH) of windows/hudson/multi-config combo produces too long filenames, so use the global temp dir
...
--HG--
branch : trunk
2010-07-01 18:39:25 +02:00
holger krekel
c57a24774d
use confcutdir
...
--HG--
branch : trunk
2010-07-01 18:12:38 +02:00
holger krekel
d51000b15d
add a tox.ini file
...
--HG--
branch : trunk
2010-07-01 17:59:35 +02:00
holger krekel
504e42a62e
remove tox.ini for now
...
--HG--
branch : trunk
2010-06-17 13:25:28 +02:00
holger krekel
add518e6b6
use new --junitprefix option for tox reporting
...
--HG--
branch : trunk
2010-06-09 16:35:50 +02:00
holger krekel
4437ecb385
make terminal tests pass on win32/python2.4 and update tox.ini
...
--HG--
branch : trunk
2010-06-09 12:01:13 +02:00
holger krekel
d00b62e0f4
fix tox.ini
...
--HG--
branch : trunk
2010-06-07 23:23:24 +02:00
holger krekel
740a668f52
adding a tox file and a note in changelog
...
--HG--
branch : trunk
2010-06-05 15:59:11 +02:00