Commit Graph

29 Commits

Author SHA1 Message Date
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 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 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 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 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 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
holger krekel 1fcd373bd5 * introduce py.io.TextIO and py.io.StringIO to help with 3k transition and to clarify
intentions when doing "in-memory" files. Replace most usages of StringIO.

* consolidate py.io's files and tests into fewer files, make files 3k-importable

--HG--
branch : trunk
2009-08-20 20:47:39 +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 079a2327ec kill/replace some execnet debug code
bump version to "trunk" on trunk
add "py" to rsyncdirs

--HG--
branch : trunk
2009-08-20 16:41:44 +02:00
holger krekel ab83c4e05c adding a link to changelog, hope that mercurial versions links correctly
--HG--
branch : 1.0.x
2009-08-19 21:02:41 +02:00