2009-11-26 02:50:39 +08:00
|
|
|
|
|
|
|
consider conftest hooks only for items below the dir
|
|
|
|
---------------------------------------------------------
|
2009-12-07 02:18:53 +08:00
|
|
|
tags: bug 1.1.2
|
2009-11-26 02:50:39 +08:00
|
|
|
|
|
|
|
currently conftest hooks remain registered throughout
|
|
|
|
the whole testing process. Consider to only have them
|
|
|
|
called if their filesystem location is below a test item.
|
|
|
|
|
|
|
|
|
2009-12-21 05:11:36 +08:00
|
|
|
introduce py.test.mark.nocollect
|
2009-11-26 02:50:39 +08:00
|
|
|
-------------------------------------------------------
|
|
|
|
tags: feature
|
|
|
|
|
|
|
|
for not considering a function for test collection at all.
|
|
|
|
maybe also introduce a py.test.mark.test to explicitely
|
|
|
|
mark a function to become a tested one. Lookup
|
|
|
|
Java JUnit recent strategies/syntax.
|
2009-12-07 02:18:53 +08:00
|
|
|
|
2009-12-21 05:11:36 +08:00
|
|
|
capture plugin: skip on missing os.dup for 'capfd'
|
|
|
|
--------------------------------------------------------
|
|
|
|
|
|
|
|
tags: feature
|
|
|
|
|
|
|
|
Currrently for Jython one needs do an explicit skip like this:
|
|
|
|
|
|
|
|
@py.test.mark.skipif("not hasattr(os, 'dup')")
|
|
|
|
|
|
|
|
to avoid a failure when 'capfd' is used. Instead
|
|
|
|
provide an automatic skip.
|
|
|
|
|
|
|
|
|
|
|
|
have imported module mismatch honour relative paths
|
|
|
|
--------------------------------------------------------
|
|
|
|
tags: bug
|
|
|
|
|
|
|
|
With 1.1.1 py.test fails at least on windows if an import
|
|
|
|
is relative and compared against an absolute conftest.py
|
|
|
|
path. Normalize.
|
|
|
|
|
|
|
|
allow plugins/conftests to show extra header information
|
|
|
|
--------------------------------------------------------
|
|
|
|
tags: feature
|
|
|
|
|
|
|
|
The test-report header should optionally show information
|
|
|
|
about the under-test package and versions/locations of
|
|
|
|
involved packages.
|
|
|
|
|
|
|
|
install py.test with interpreter-specific prefixes
|
|
|
|
--------------------------------------------------------
|
|
|
|
tags: feature
|
|
|
|
|
|
|
|
When installing under python3, jython or pypy-c it is
|
|
|
|
desirable to (additionally?) install py.test with
|
|
|
|
respective suffixes.
|
|
|
|
|
2009-12-07 02:18:53 +08:00
|
|
|
make node._checkcollectable more robust
|
|
|
|
-------------------------------------------------
|
|
|
|
tags: bug 1.1.2
|
|
|
|
|
|
|
|
currently node._checkcollectable() can raise
|
|
|
|
exceptions for all kinds of reasons ('conftest.py' loading
|
|
|
|
problems, missing rsync-dirs, platform-skip-at-import-level
|
|
|
|
issues, ...). It should just return True/False and cause
|
|
|
|
a good error message.
|
|
|
|
|
|
|
|
call termination with small timeout
|
|
|
|
-------------------------------------------------
|
|
|
|
tags: feature 1.1.2
|
|
|
|
|
|
|
|
Call gateway group termination with a small timeout if available.
|
|
|
|
Should make dist-testing less likely to leave lost processes.
|
2009-12-07 20:27:24 +08:00
|
|
|
|
|
|
|
make capfd skip if 'dup' is not available
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
|
|
tags: feature 1.1.2
|
|
|
|
|
|
|
|
currently, using 'capfd' as a funcarg will fail because
|
|
|
|
it cannot call os.dup on setup. Should cause a skip.
|
|
|
|
|
|
|
|
introduce multi-install, i.e. py.test3, py.test-pypy, py.test-jython
|
|
|
|
and maybe a commandline-"suffix" override?
|
2009-12-08 06:54:22 +08:00
|
|
|
|
|
|
|
fix dist-testing: execnet needs to be rsynced over automatically
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
tags: bug 1.1.2
|
|
|
|
bb: http://bitbucket.org/hpk42/py-trunk/issue/65/
|
|
|
|
|
|
|
|
execnet is not rsynced so fails if run in an ssh-situation.
|
|
|
|
write test and fix.
|
2009-12-08 07:06:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
relax requirement to have tests/testing contain an __init__
|
|
|
|
----------------------------------------------------------------
|
|
|
|
tags: feature 1.1.2
|
|
|
|
bb: http://bitbucket.org/hpk42/py-trunk/issue/64
|
|
|
|
|
|
|
|
A local test run of a "tests" directory may work
|
|
|
|
but a remote one fail because the tests directory
|
|
|
|
does not contain an "__init__.py". Either give
|
|
|
|
an error or make it work without the __init__.py
|