Commit Graph

736 Commits

Author SHA1 Message Date
hpk 2bac2ed175 [svn r58013] bah, forgot that helper uses fnmatch-style matching, not regular expression
--HG--
branch : trunk
2008-09-09 19:15:37 +02:00
hpk 05f2d6441d [svn r58012] fix imports so that tests pass against pypy-dist
--HG--
branch : trunk
2008-09-09 19:02:28 +02:00
hpk 39440c91c9 [svn r58010] some support for old naming because many sites import ReST checker from this conftest.
--HG--
branch : trunk
2008-09-09 18:51:49 +02:00
hpk 0c1fe61f44 [svn r58009] move old webcheck things into contrib
--HG--
branch : trunk
2008-09-09 18:51:07 +02:00
hpk 573daf741b [svn r57979] fix 2.3 compat
--HG--
branch : trunk
2008-09-08 18:01:11 +02:00
pedronis 2cb1b42b38 [svn r57977] (iko, pedronis)
- fixing a bug with test about the case when a multi line source cannot be retrieved
  ( test_repr_many_line_source_not_existing in test_excinfo.py )

- trying to make py test behave more like in the past in the face of fullsource errors, needed by pypy app test
  infrastructure
  ( test_repr_source_failing_fullsource in test_excinfo.py )

--HG--
branch : trunk
2008-09-08 17:51:38 +02:00
pedronis 7a21f7157e [svn r57971] (iko, pedronis)
make the Directory collection return files sorted by name again, as it seemed expected by the tests

--HG--
branch : trunk
2008-09-08 15:02:35 +02:00
hpk e29a48b575 [svn r57834] try to accomodate the fact that some conftests like the Prolog-test ones
subclass Module but do not actually have an underlying python file.
Nowadays, they should subclass "py.test.collect.File".

--HG--
branch : trunk
2008-09-05 12:07:36 +02:00
hpk a978e606c3 [svn r57833] simplify test setup
--HG--
branch : trunk
2008-09-05 11:28:25 +02:00
hpk 621f925985 [svn r57831] small test cleanups while prepping for pycon uk slides
--HG--
branch : trunk
2008-09-05 11:02:58 +02:00
arigo b52c58159f [svn r57790] Reintroduce the --tb option. Add test.
--HG--
branch : trunk
2008-09-03 10:15:44 +02:00
hpk d83db97806 [svn r57772] tweak
--HG--
branch : trunk
2008-09-02 21:38:46 +02:00
hpk 9eb1d55380 [svn r57762] * settle on using suptest for supporting test runs
* fix a bug in getmodpath
* remove redundant functions/files

--HG--
branch : trunk
2008-09-02 16:31:42 +02:00
hpk 7518dcabc2 [svn r57758] unify test support, remove basetest.py
--HG--
branch : trunk
2008-09-02 15:22:10 +02:00
hpk 14cfc8d342 [svn r57757] adapt output checking test for slightly different output
--HG--
branch : trunk
2008-09-02 14:45:50 +02:00
hpk 4c38ff30ee [svn r57756] * create new contrib directory
* move py/green to contrib/pygreen,
  fix tests and code to pass

--HG--
branch : trunk
2008-09-02 14:42:35 +02:00
hpk 561a14054c [svn r57754] * introduce py.test.collect.File (File for py or non-py files)
* introduce py.test.collect.Collector.collect_by_name and
  special case it for Directories to allow specifying
  files that would otherwise be ignored because of filters.
* fix py/doc/conftest to work with new API
* refactor py/doc/test_conftest.py to use suptest helper
* avoid old APIs in some more places.

--HG--
branch : trunk
2008-09-02 14:24:15 +02:00
hpk 494ea31042 [svn r57744] Merging collection-API refactoring branch:
* collectors now have a collect() method
* items have a runtest() method
* deprecated old run/join of collectors and
  run/execute methods of items

--HG--
branch : trunk
2008-09-02 10:58:14 +02:00
hpk ee94d1d2bd [svn r57707] review todo.txt and future/* items, merge into one TODO.txt file.
--HG--
branch : trunk
2008-09-01 10:37:17 +02:00
hpk d9f3c868e8 [svn r57689] mentioning "-U" switch.
--HG--
branch : trunk
2008-08-29 20:55:42 +02:00
fijal 937b13c710 [svn r57609] Keep comments in the same style accross the file
--HG--
branch : trunk
2008-08-24 12:58:42 +02:00
hpk 861ff88484 [svn r57595] i've heart somewhere that running tests before checking in is a good idea (aka bah!)
--HG--
branch : trunk
2008-08-22 23:15:56 +02:00
hpk 354feff9a6 [svn r57594] * adding tracing to dsession and master/slave communication
(enable with --tracedir)
* factor slave loop into a class
* add comment to pickling

--HG--
branch : trunk
2008-08-22 23:14:43 +02:00
hpk a6f1e3d82f [svn r57591] flush true by default
--HG--
branch : trunk
2008-08-22 19:07:04 +02:00
hpk 0dbe04abcb [svn r57587] merging doc and tool changes from release branch
svn merge -r 57540:HEAD release/0.9.x

--HG--
branch : trunk
2008-08-22 15:41:17 +02:00
hpk 7adfbfa166 [svn r57565] also introduce config.maketrace(name, flush=False) which
returns either a nulltracer or opens a log in the tracedir
and returns an object that you can call with args to print
into the file.

--HG--
branch : trunk
2008-08-21 19:39:34 +02:00
hpk bf42c88e48 [svn r57564] adding an option for setting a tracedirectory so that components can write log files,
depending on what they get from config.gettracedir()

--HG--
branch : trunk
2008-08-21 19:25:48 +02:00
hpk 89cdf3b8a4 [svn r57558] should have come with 57557 - extend "acceptance" test machinery.
--HG--
branch : trunk
2008-08-21 16:26:27 +02:00
hpk 3652fbfe85 [svn r57557] add lookup in filenames and test machinery.
--HG--
branch : trunk
2008-08-21 16:25:24 +02:00
hpk 29af0e2d81 [svn r57556] remove special Function __repr__
--HG--
branch : trunk
2008-08-21 15:53:19 +02:00
hpk a0cbc060b6 [svn r57554] fix case where argument to AssertionError has broken __repr__
--HG--
branch : trunk
2008-08-21 15:43:45 +02:00
hpk b1069dec00 [svn r57551] normalizing py.which cmdline script
--HG--
branch : trunk
2008-08-21 15:25:29 +02:00
hpk d7f09cfc0a [svn r57550] * fixing syntax error
* removing setup.cfg

--HG--
branch : trunk
2008-08-21 15:12:31 +02:00
hpk d7f4dd3794 [svn r57548] * introduce py.process.ForkedFunc object (previously lived at
py.io and before that py.test)
* avoid deprecated py/misc/terminal_helper.py
* starting changelog for 1.0

--HG--
branch : trunk
2008-08-21 14:12:20 +02:00
hpk 3702ca2c71 [svn r57546] * channels now also provide makefile(mode) with mode = 'r'
for providing file-like read/readline/close methods.
* added and refined crash and finalization tests

--HG--
branch : trunk
2008-08-21 14:04:43 +02:00
hpk 9b81b15b74 [svn r57544] still notify callbacks if we can't send to the other side anymore.
--HG--
branch : trunk
2008-08-21 14:00:08 +02:00
hpk a999dc8472 [svn r57540] merge changes from release branch back
[svn merge -r 57430:HEAD ../release/0.9.x/ .]

* cmdline script organisation
* execnet windows fixes
* documentation updates
* test skips

also regen setup.py

--HG--
branch : trunk
2008-08-21 12:18:58 +02:00
hpk c0d524139e [svn r57538] re-apply few fixes to make experimental gateway path basically work again.
--HG--
branch : trunk
2008-08-21 12:05:04 +02:00
hpk 37a41ed0b7 [svn r57536] get the py.path fixes of 0.9.x release branch back to trunk
--HG--
branch : trunk
2008-08-21 12:00:33 +02:00
hpk 5f666c99b7 [svn r57535] extending hacks for a safe representation of objects
to also work for broken __repr__s on newstyle classes.

--HG--
branch : trunk
2008-08-21 11:48:46 +02:00
hpk d5e61e470d [svn r57529] preparing experiments with "dev" tags and pypi.
--HG--
branch : trunk
2008-08-21 09:48:44 +02:00
hpk a8571daac8 [svn r57481] fix a few things, seems to work again.
--HG--
branch : trunk
2008-08-19 23:47:09 +02:00
hpk 353ce8d0ce [svn r57480] fix changed namespace
--HG--
branch : trunk
2008-08-19 23:42:13 +02:00
guido c32fa7b4f3 [svn r57474] Fixed bug reported by Martijn Faassen - when the XML output of 'svn st --xml'
didn't contain author information, the code raised an exception.

--HG--
branch : trunk
2008-08-19 21:50:06 +02:00
hpk c1ce0c7357 [svn r57464] removing print statement
(there is something to be said about doctests :)

--HG--
branch : trunk
2008-08-19 14:23:30 +02:00
hpk 39c06d2f6e [svn r57455] fixing for changed output
--HG--
branch : trunk
2008-08-19 07:58:44 +02:00
guido 623ad564ed [svn r57449] Merging https://codespeak.net/svn/py/branch/guido-svnwc-xml-status with trunk
(revisions 56843:57448).

--HG--
branch : trunk
2008-08-18 22:37:39 +02:00
hpk 8cefb88d9c [svn r57445] retain the behaviour of printing if we insert to sys.path
--HG--
branch : trunk
2008-08-18 21:03:25 +02:00
hpk 3fafeacdcb [svn r57442] robustify. this can also happen to get exectued while being in another version of the py lib.
--HG--
branch : trunk
2008-08-18 20:02:56 +02:00
hpk a20731b111 [svn r57440] various fixes for python2.6
--HG--
branch : trunk
2008-08-18 19:33:31 +02:00
hpk fc3721259f [svn r57439] account for changed location
--HG--
branch : trunk
2008-08-18 18:57:13 +02:00
hpk 4115e975d1 [svn r57429] merging/porting the release branch changes and
cleanups to trunk.

svn merge -r 56716:HEAD ../release/0.9.x/ to trunk

--HG--
branch : trunk
2008-08-18 17:08:39 +02:00
hpk 013cbb52a1 [svn r57358] move more scripts to build directory
--HG--
branch : trunk
2008-08-17 17:24:29 +02:00
hpk 82b9899401 [svn r57346] shift talk from py/doc to extradoc/talk dir
--HG--
branch : trunk
2008-08-17 13:58:56 +02:00
hpk a4333b7b0d [svn r57331] port 57330 (which accidentally went to the branch)
--HG--
branch : trunk
2008-08-16 19:51:21 +02:00
hpk a7dfaccaef [svn r57325] for noew skip apigen tests that fail
--HG--
branch : trunk
2008-08-16 17:47:44 +02:00
hpk b42d0abea2 [svn r57324] remove superflous helper attribute
--HG--
branch : trunk
2008-08-16 17:47:26 +02:00
hpk 88a534e9b0 [svn r57323] port 57174 from branch: ignore errors when removing dirs in teardowns
--HG--
branch : trunk
2008-08-16 17:38:54 +02:00
hpk 7dca0d02a9 [svn r57322] port 57306 from branch: check for actually needed binaries
--HG--
branch : trunk
2008-08-16 17:29:35 +02:00
hpk abc8cf09aa [svn r57321] merging the event branch:
* moving in test, misc, code, io directories and
  py/__init__.py
* py/bin/_find.py does not print to stderr anymore
* a few fixes to conftest files in other dirs
some more fixes and adjustments pending

--HG--
branch : trunk
2008-08-16 17:26:59 +02:00
hpk 7428eadf7d [svn r57320] remove test, misc, doc, io, and code directories
that are to come from the event branch with the next commit.

--HG--
branch : trunk
2008-08-16 17:10:17 +02:00
hpk 9ceb61056e [svn r57228] fix always-true assertion
--HG--
branch : trunk
2008-08-13 18:22:46 +02:00
guido 4549e188da [svn r56835] Refactored the wcpath.status() method, moved the parsing of the regexp to the
WCStatus class.

--HG--
branch : trunk
2008-07-29 12:07:41 +02:00
hpk 53c3f58a33 [svn r56749] porting fixes from dist to trunk
--HG--
branch : trunk
2008-07-23 19:40:04 +02:00
hpk 7682e0801a [svn r56743] port path-fix 56724
--HG--
branch : trunk
2008-07-23 17:30:43 +02:00
hpk c7da98d7a7 [svn r56722] porting the windows-execnet 56717 and 56718 fixes to other active branches
--HG--
branch : trunk
2008-07-22 21:17:17 +02:00
hpk e101bad658 [svn r56721] some more upcoming notes
--HG--
branch : trunk
2008-07-22 21:12:17 +02:00
hpk f9b7835181 [svn r56712] add a note about the needed FILE:LINENO summary.
--HG--
branch : trunk
2008-07-22 16:39:45 +02:00
hpk 49fb0d39af [svn r56663] some more planning and notes for 1.0
--HG--
branch : trunk
2008-07-19 12:24:09 +02:00
hpk c95b6544e4 [svn r56636] note regarding collection/runtest ambiguity
--HG--
branch : trunk
2008-07-18 11:50:49 +02:00
hpk f97333b057 [svn r56635] a few notes for release planning
--HG--
branch : trunk
2008-07-18 11:38:21 +02:00
hpk dcfee7cf9f [svn r56619] sic
--HG--
branch : trunk
2008-07-17 15:22:36 +02:00
hpk 8cbfaa1a4f [svn r56618] skip this test for a more explicit reason
--HG--
branch : trunk
2008-07-17 15:21:23 +02:00
hpk ee61967f75 [svn r56513] extend doc string
--HG--
branch : trunk
2008-07-13 16:09:38 +02:00
hpk cdc3f3e9fc [svn r56512] avoid infinite recursion issue with svn 1.5, thanks chris lamb
--HG--
branch : trunk
2008-07-13 16:02:26 +02:00
hpk 3158564e7f [svn r56510] svn 1.3 is in common use these days and seems to pass the test.
--HG--
branch : trunk
2008-07-13 15:36:50 +02:00
hpk 4adcfb75de [svn r56509] small helper script for creating py/test2 hierarchy
--HG--
branch : trunk
2008-07-13 10:27:58 +02:00
hpk 6d5c15b340 [svn r56304] almost any version works
--HG--
branch : trunk
2008-07-04 16:03:19 +02:00
hpk 41064e610e [svn r56286] note that --showlocals doesn't work on trunk
--HG--
branch : trunk
2008-07-04 10:01:15 +02:00
hpk d4c3b3ce85 [svn r56285] sanitize doctesting a bit. this also fixes the problem that you could not have "import" working in doctests previously. thanks nshepperd.
--HG--
branch : trunk
2008-07-04 09:14:36 +02:00
hpk cb53ad6010 [svn r56284] removing unadvertised new names and adjusting the test
to show how you can put custom messages otherwise.

--HG--
branch : trunk
2008-07-04 08:51:51 +02:00
hpk 15b129a12e [svn r56231] add a small script that tells where an import of a python module package would come from.
py.which is meant to be the equivalent of "which" in unix.

--HG--
branch : trunk
2008-07-02 10:42:24 +02:00
hpk 671f6a4660 [svn r55053] also allow using pdb in failures of the collection process
--HG--
branch : trunk
2008-05-21 11:54:33 +02:00
fijal 4fce886def [svn r54623] A test for 54622
Fix for running tests

--HG--
branch : trunk
2008-05-10 15:55:22 +02:00
fijal 6e99225320 [svn r54622] "How this could ever worked..."
--HG--
branch : trunk
2008-05-10 15:39:39 +02:00
fijal a700c261ef [svn r52707] Allow some mocking.
--HG--
branch : trunk
2008-03-18 21:57:43 +01:00
guido 26ba6d9034 [svn r52483] Skipping apigen test again.
--HG--
branch : trunk
2008-03-14 12:27:21 +01:00
guido 41cd138f2e [svn r52481] Python2.3 has no 'sorted()' yet.
--HG--
branch : trunk
2008-03-14 12:08:21 +01:00
guido 14bdc16dd5 [svn r52001] Removed (outdated, and perhaps a bit too verbose) document about svn auth, in
favour of a short note and code example in the existing path.txt doc in docs.

--HG--
branch : trunk
2008-03-01 15:14:11 +01:00
guido 17530e8ccd [svn r52000] Merging the 'guido-auth-svn' branch back into the trunk. This means there's
a new class py.path.SvnAuth of which instances store user credentials and
auth config, and can be passed to py.path.svnurl and py.path.svnwc objects
to control SVN authentication behaviour.

--HG--
branch : trunk
2008-03-01 14:43:33 +01:00
hpk f3f84fa36c [svn r51329] rename special __package__ to __pkg__ because python 2.6 needs the former
(thanks to Ralf Schmitt)

--HG--
branch : trunk
2008-02-08 09:43:05 +01:00
fijal 37d357ff4c [svn r51292] Just another except, in order to represent source when it's not there.
--HG--
branch : trunk
2008-02-05 15:35:49 +01:00
lamby ba91810a17 [svn r51285] Fix _docgen.py documentation building.
--HG--
branch : trunk
2008-02-05 12:55:00 +01:00
hpk 24e2d79924 [svn r51132] a todo/note on skip's and speed (inspired by exarkun on #pypy)
--HG--
branch : trunk
2008-01-30 16:25:40 +01:00
hpk 6db9a3bd2e [svn r51087] add a note that skip-reporting is broken
after the branch-merge

--HG--
branch : trunk
2008-01-27 22:33:30 +01:00
hpk 194f5be88f [svn r51077] bump version number
--HG--
branch : trunk
2008-01-27 12:55:27 +01:00
hpk e03e71c96f [svn r51058] fix ReST
--HG--
branch : trunk
2008-01-26 12:45:03 +01:00
hpk 923c85b701 [svn r51057] review, refactor and write up for some 1.0 related TODOs
--HG--
branch : trunk
2008-01-26 12:33:32 +01:00
hpk f7e1bbeb24 [svn r51056] fijal: don't use py.test.skip directly in a conftest.py -
this will get called very early during import time.
This lead to windows not executing any py/ tests at all.

--HG--
branch : trunk
2008-01-26 11:58:23 +01:00
hpk f2b0bd10e6 [svn r51034] merging in fijal's reporter-merge branch into the trunk,
still needs refactoring as far as i am concernced.

--HG--
branch : trunk
2008-01-25 16:54:04 +01:00