holger krekel
9da1ba40ed
move down py/impl/XYZ to py/_XYZ
...
--HG--
branch : trunk
2010-01-13 17:15:54 +01:00
holger krekel
40f41496d8
remove dist-testing and looponfail code from core. there remain some (pytest_runner particularly) tests that test both plain and dist modes which cannot be easily dis-entangled. food for thought.
...
--HG--
branch : trunk
2010-01-13 16:00:33 +01:00
holger krekel
d4f5073076
remove figleaf which now lives "outside"
...
--HG--
branch : trunk
2010-01-13 00:47:20 +01:00
holger krekel
ba1451330e
refine rsyncing and internal dir/transferal handling: don't transfer roots in a popen- no-chdir situation and only use one py._pydir everywhere
...
--HG--
branch : trunk
2010-01-11 14:30:50 +01:00
holger krekel
352e305431
fix and test bug: dist-testing now works again without execnet/pylib installed remotely. fixes issue65.
...
--HG--
branch : trunk
2010-01-10 23:52:23 +01:00
holger krekel
9fcd108091
relax a test to pass on jython and fix install docs to include genscript standalone usage.
...
--HG--
branch : trunk
2010-01-03 14:19:31 +01:00
holger krekel
d541713dca
re-arrange "py.test -h" command line option grouping and update some plugin docs.
...
--HG--
branch : trunk
2010-01-03 12:41:29 +01:00
holger krekel
9fa6ca885a
fixing invocation
...
--HG--
branch : trunk
2009-12-31 11:33:27 +01:00
holger krekel
fa0c7b18bf
move standalone script to become a plugin offering "--genscript",
...
adjust paths accordingly and add CHANGELOG entry.
--HG--
branch : trunk
2009-12-30 19:10:49 +01:00
Ralf Schmitt
1103f2ad62
make inspect.getsource work for standalone py.test by implementing a get_source method on our DictImporter.
...
--HG--
branch : trunk
2009-12-30 19:01:46 +01:00
holger krekel
a42d9eb9f6
fix some standalone-script running issues:
...
* standalone can run standalone tests
* exception handling is more careful with assuming valid filenames
* bits here and there
--HG--
branch : trunk
2009-12-30 18:11:00 +01:00
holger krekel
6495007aba
refine tests to cache single-script and make standalone work with distributed testing.
...
--HG--
branch : trunk
2009-12-30 17:40:50 +01:00
holger krekel
77667c11d2
a first go at testing schmir's generate_standalone_pytest script and
...
making it work on python2.4-3.1 + jython.
--HG--
branch : trunk
2009-12-30 17:08:45 +01:00
holger krekel
71e332c9c4
robustiy some randomly failing tests
...
--HG--
branch : trunk
2009-12-29 12:36:45 +01:00
Ralf Schmitt
cc82f1601c
add script to generate standalone py.test
...
--HG--
branch : trunk
2009-12-27 23:03:04 +01:00
holger krekel
9239d2dd06
another fix for windows
...
--HG--
branch : trunk
2009-12-25 02:16:29 -08:00
holger krekel
0bfd3819c8
fix typo
...
--HG--
branch : trunk
2009-12-25 10:56:03 +01:00
holger krekel
516cee2a94
windows fixes and print funcargs for keyboardinterrupt traces
...
--HG--
branch : trunk
2009-12-25 09:53:36 +01:00
holger krekel
d28838bbb6
try to fix windows path issue
...
--HG--
branch : trunk
2009-12-25 00:31:51 +01:00
holger krekel
88e61467f1
fixing and cleaning up some tests
...
--HG--
branch : trunk
2009-12-25 00:24:58 +01:00
holger krekel
cd96e52144
temporarily adding files for playing with hudson
...
--HG--
branch : trunk
2009-12-24 21:47:01 +01:00
holger krekel
8a5c3c0c69
cleanup bin-script creation, fix docs, add FAQ entry about py.test --version
...
--HG--
branch : trunk
2009-12-24 12:27:15 +01:00
holger krekel
1580b2c8da
create version/interpreter differentiated py.test$VER for cpython, jython, pypy-c's, prepare 1.1.2 release
...
--HG--
branch : trunk
2009-12-23 19:58:52 +01:00
holger krekel
90306e0089
skip tests properly
...
--HG--
branch : trunk
2009-12-06 19:18:44 +01:00
holger krekel
ed03eef81b
introduce plugin discovery through setuptools "pytest11" entrypoints
...
and refine execnet dependency handling. Prepare 1.1 release
--HG--
branch : trunk
2009-11-23 17:20:36 +01:00
holger krekel
a5a94c4e8f
largely improve and reshuffle docs, heading strongly towards a 1.1.0
...
--HG--
branch : trunk
2009-11-05 03:18:55 +01:00
holger krekel
b04a04cabd
make py lib a self-contained directory again
...
- move and merge _py/ bits back to py/
- fixes all around
--HG--
branch : trunk
2009-11-04 21:34:07 +01:00
holger krekel
e584892c12
update and fix docs for installation
...
- rework installation
- add a new FAQ entry related to issue58 Windows/setuptools/multiprocess
- strike api/source references
--HG--
branch : trunk
2009-11-02 13:00:48 +01:00
holger krekel
270ac2bc0d
some release preps and cleanups
...
- update setup.py for release
- use distributes_setup on python3
- remove unncessary package_data
- remove execnet example
--HG--
branch : trunk
2009-10-29 12:45:12 +01:00
holger krekel
cc3404b832
merged ronny's nose-compatibility hacks, i.e. nosestyle
...
setup_module() and setup() functions are supported.
added a few notes to changelog and documentation about it
--HG--
branch : trunk
2009-10-27 16:49:38 +01:00
holger krekel
6c2b1c4363
refine naming, API and docs for py.test.mark mechanism - now contained in pytest_mark plugin
...
--HG--
branch : trunk
2009-10-22 20:57:21 +02:00
holger krekel
d8b9b5f1c8
- make importorskip static at py.test.importorskip because it's
...
used for conditional plugin loading
- fix case where xfail is defined at module/class level
- fixes and improvements to docs, correct links to plugins
- use new skip facilities here and there
--HG--
branch : trunk
2009-10-15 20:10:06 +02:00
holger krekel
3ca770b420
generalize skipping
...
- rename pytest_xfail to pytest_skip
- dynamic "skipif" and "xfail" decorators
- move most skipping code to the plugin
also coming with this commit:
- extend mark keyword to accept positional args + docs
- fix a few documentation related issues
- leave version as "trunk" for now
--HG--
branch : trunk
2009-10-15 16:18:57 +02:00
holger krekel
5791c06bf2
rewrote the initpkg mechanism and moved py lib implementation files to
...
_py/... with py/__init__.py containing pointers into them
The new apipkg is only around 70 lines of code and allows
us to get rid of the infamous "py.__." by regular non-magical
"_py." imports. It is also available as a separately installable
package, see http://bitbucket.org/hpk42/apipkg
--HG--
branch : trunk
2009-10-03 01:47:39 +02:00
holger krekel
ab9f6a75ad
remove py.execnet, substitute py.execnet usages with "execnet" ones.
...
--HG--
branch : trunk
2009-10-02 16:58:57 +02:00
holger krekel
d1932a30ed
deprecate py.compat.doctest|subprocess|textwrap|...
...
(and for now pass through Python stdlib provided modules).
--HG--
branch : trunk
2009-08-27 21:12:55 +02:00
holger krekel
e391662cff
merge 1.0.x branch to trunk, fix doc link
...
--HG--
branch : trunk
2009-08-27 12:10:42 +02:00
holger krekel
f522838c77
finalizing doc bits for 1.0.2
...
--HG--
branch : 1.0.x
2009-08-27 11:43:46 +02:00
holger krekel
81f7891539
merging 1.0.x branch
...
--HG--
branch : trunk
2009-08-26 22:57:06 +02:00
holger krekel
c024dc6417
* using a MANIFEST.in file instead of our own generated MANIFEST file
...
* port the test_install refactoring from trunk, move to bin-for-dist
--HG--
branch : 1.0.x
2009-08-26 11:09:55 +02:00
holger krekel
d43d69e3db
death to "misc" directories. moved most files out of py/misc, either to a
...
private attic or to other places in the lib.
--HG--
branch : trunk
2009-08-25 16:14:15 +02:00
holger krekel
561fdca3a2
move localpath implementation to a single file, simplify unix/posix difference and fix a bit
...
--HG--
branch : trunk
2009-08-20 17:37:06 +02:00
holger krekel
36288223b4
[mq]: 101-prep
...
--HG--
branch : 1.0.x
2009-08-19 17:12:02 +02:00