holger krekel
0060869e79
move CHANGELOG back to root level, add entries
...
--HG--
branch : trunk
2009-11-20 00:12:39 +01:00
holger krekel
3adf6687c9
reintroduce py.test.cmdline.main() (alias for py.cmdline.pytest())
...
resolves issue #61
--HG--
branch : trunk
2009-11-19 23:13:28 +01:00
holger krekel
41a572ee1e
a bit of padding under the logo
...
--HG--
branch : trunk
2009-11-17 13:45:27 +01:00
holger krekel
1a86d09da4
a few internal test related fixes as to run on a osx/no-execnet situation
...
--HG--
branch : trunk
2009-11-12 21:15:59 +01:00
holger krekel
f4ec2d1ecd
improve deprecation, start changelog
...
--HG--
branch : trunk
2009-11-12 13:10:30 +01:00
holger krekel
e0bca8fe51
fix up install docs and plugin docs for the final release
...
have CHANGELOG be a file containing links instead of a symlink
beause it causes issues with pip-install on some systems.
--HG--
branch : trunk
2009-11-05 17:46:14 +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
4dd6c7679d
adding more alternatives as asked for by bluebird75
...
--HG--
branch : trunk
2009-11-02 14:52:54 +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
7aee121bd7
move examples to doc directory
...
--HG--
branch : trunk
2009-10-29 17:54:37 +01:00
holger krekel
cc15685015
remove pyrest and _py/rest before first 1.1. release
...
--HG--
branch : trunk
2009-10-29 12:25:47 +01:00
holger krekel
86fc12dd15
resolves issue #59
...
resolves issue #48
Have the path.pyimport() helper raise an EnvironmentError if an
import of a given file returns a module that does not appear to
be coming from the actual path. E.g. for a directory layout like this:
a / test_whatever.py
b / test_whatever.py
calling py.path.local("b/test_whatever.py").pyimport() will
fail if the other globally scoped test_whatever module was
loaded already.
--HG--
branch : trunk
2009-10-28 19:51:20 +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
fb159b0d40
removing some py.execnet references and moving scripts to execnet repo
...
--HG--
branch : trunk
2009-10-27 09:19:23 +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
c38bb72205
reshuffle/refine option grouping, introduce "terminal reporting options"
...
--HG--
branch : trunk
2009-10-17 17:43:59 +02:00
holger krekel
80f3e33e41
deprecate addgroup / allow ordering of option groups
...
--HG--
branch : trunk
2009-10-17 17:43:33 +02:00
holger krekel
3795b08e95
add --report cmdline option, shift refined xfailed and skipped reporting to skipping plugin
...
--HG--
branch : trunk
2009-10-17 17:42:40 +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
1bdc0896ca
introduce "-d" to py.cleanup
...
--HG--
branch : trunk
2009-10-12 11:24:41 +02:00
holger krekel
f10bfbb7e5
resolves #59 - robustify unittest collection
...
--HG--
branch : trunk
2009-10-09 15:09:26 +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
db1ff48996
* use the MIT license for the py lib
...
* bump version to prospective 1.1.0b1
* strike some unused code from initpkg
--HG--
branch : trunk
2009-10-03 01:11:04 +02:00
holger krekel
1f29529a24
* don't add distributed command line options when 'execnet' is not
...
installed, report a nice message.
* fix tests and code to work with non-existing execnet
* point execnet doc to the new package
--HG--
branch : trunk
2009-10-02 22:29:22 +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
98b2300266
fix cached_setup to deal properly for test_functions
...
with multiple args. closes #50
--HG--
branch : trunk
2009-09-30 12:52:40 +02:00
holger krekel
8f69d23f18
merging jarko'S fixes, resolves issue #45 , resolves issue #46
...
--HG--
branch : trunk
2009-09-23 19:43:43 +02:00
Benjamin Peterson
d80f37f14a
add changelog entry for last commit
...
--HG--
branch : trunk
2009-09-22 21:07:07 -05:00
holger krekel
22c1ad9f7b
fix a bug with funcarg setup and remove XXX comment because "scope=module" now would work but leaving it as session for now.
...
--HG--
branch : trunk
2009-09-09 23:07:42 +02:00
holger krekel
6d84da39e4
some doc about the experiemntal pytest_gwmanage_newgateway hook.
...
and use process-scope for execnet test funcargs because
of weird setup/teardown issues when running distributedly itself.
--HG--
branch : trunk
2009-09-09 20:45:51 +02:00
holger krekel
b70c7a209d
* moving execnet tests to funcarg-style, some cleanup
...
* slight refinement to FAQ license topic
--HG--
branch : trunk
2009-09-08 10:10:36 +02:00
holger krekel
f9eadc6440
relicense to LGPL, add an FAQ entry reasoning about it.
...
--HG--
branch : trunk
2009-09-08 09:57:19 +02:00
holger krekel
0f29b503ef
monkeypatch, doc, apiwarn, deprecation fixes
...
--HG--
branch : trunk
2009-09-07 17:53:50 +02:00
holger krekel
3c3002ccd5
regen setup.py and docs so that "python3 setup.py build" maybe works if setuptools does
...
--HG--
branch : trunk
2009-09-06 17:17:37 +02:00
holger krekel
c8119d89b6
move test files out of py lib proper
...
* separate all tests from plugins
* simplify implicit inclusion of plugins under test
* have test_initpkg perform direct checks instead of yielding tests
* fix example tests for 3k
--HG--
branch : trunk
2009-09-06 16:59:39 +02:00
holger krekel
5e95feaf90
* add print_, exec_ and _reraise helpers for 2-3 compatible code
...
* consolidate builtins implementation to be compatible with >=2.3
--HG--
branch : trunk
2009-08-28 16:25:29 +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
681d344eac
deprecate py.magic.autopath() and finally remove py/magic directory.
...
--HG--
branch : trunk
2009-08-27 18:46:42 +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
3be875bfd2
some fixes and small doc updates, aiming to finalize 1.0.2
...
--HG--
branch : 1.0.x
2009-08-26 19:09:52 +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
8ee7bef638
consolidate py/code files into code.py, simplify SafeRepr code and docs.
...
--HG--
branch : trunk
2009-08-25 20:24:43 +02:00
holger krekel
94aef0b771
move and rename html rest helper to rest directory - finally remove py/misc completely
...
--HG--
branch : trunk
2009-08-25 16:15:17 +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
58a9e71e81
add delattr/delenv/delitem methods and tests, enhance terminalwriter tests
...
--HG--
branch : trunk
2009-08-22 12:45:58 +02:00
holger krekel
27c08ac235
consolidate py/log into fewer files, remove one old approach, sketch simplified API
...
--HG--
branch : trunk
2009-08-22 09:42:12 +02:00
holger krekel
2b8f489d60
moved laura's utestconvert script to a more visible place
...
--HG--
branch : trunk
2009-08-21 12:56:43 +02:00