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
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
8c8617c354
* rename "rep" to "report" in reporting hooks
...
* refine docs
* bump version data
* improve announcement
--HG--
branch : 1.0.x
2009-08-04 12:00:04 +02:00
holger krekel
e80714d701
fixes for python 2.4
...
--HG--
branch : 1.0.x
2009-07-31 15:35:22 +02:00
holger krekel
be949f4037
* reworked capturing to only capture once per runtest cycle
...
* added readouterr() method to py.io capturing helpers
--HG--
branch : 1.0.x
2009-07-31 14:21:02 +02:00
holger krekel
ad34e50b71
properly handle test items that get locally collected but cannot be collected on the remote side (often due to platform reasons)
...
--HG--
branch : 1.0.x
2009-07-30 09:52:12 +02:00
holger krekel
6216ab2bb7
adding a test and some support code for creating
...
an "sdist" package, unpacking in a virtualenv and
importing and verifying the version
--HG--
branch : 1.0.x
2009-07-22 14:47:10 +02:00
holger krekel
8f0a85aee1
* streamlining plugin docstrings
...
* better organisation of example directory, also does not break
whole-test run anymore
--HG--
branch : 1.0.x
2009-07-08 19:18:26 +02:00
holger krekel
82d40724fa
fixing docs, adding newest ez_setup.py, fixing a few win32 failures, fixing iocapture plugin
...
--HG--
branch : trunk
2009-06-18 19:02:59 +02:00
holger krekel
c2415d7eee
rename api to hookspec and use direct modules instead of class
...
--HG--
branch : trunk
2009-06-11 14:48:53 +02:00
holger krekel
ed216e77d0
document and refine/rename item **runtest** hook invocations
...
capture output separately for fixture and actual test run
--HG--
branch : trunk
2009-06-09 16:08:34 +02:00
holger krekel
d16688a1e6
* rename, cleanup and document runtest hooks
...
* factor runner code into pytest_runner plugin
* cleanup setupstate handling
--HG--
branch : trunk
2009-06-08 18:31:10 +02:00
holger krekel
a93918a480
integrate plugin hook checking directly when registering
...
remove plugintester plugin, all functionality now in testdir
--HG--
branch : trunk
2009-05-22 23:50:35 +02:00
holger krekel
bcd9aed0b1
* introduce pytest_pdb: plugin handling --pdb invocation
...
* killing some unused/unneccessary hooks
--HG--
branch : trunk
2009-05-22 19:57:21 +02:00
holger krekel
b8926f59da
make setupevent tests of pytest_runner.py work
...
--HG--
branch : trunk
2009-05-22 19:56:05 +02:00
holger krekel
f2b1eb5bba
add a very basic test and include _pytest dependency. thanks pedronis.
...
--HG--
branch : trunk
2009-05-21 15:22:01 +02:00
holger krekel
ec34e9423e
rename sorter to reprec (report-recorder)
...
--HG--
branch : trunk
2009-05-21 14:33:09 +02:00
holger krekel
a58292b473
* streamline hookrecording and global py._com.comregistry patching
...
* this fixes a reporting bug where events from inner test runs would
mix with the outer test run
--HG--
branch : trunk
2009-05-21 09:45:43 +02:00
holger krekel
d1f24aa251
plugin cleanups
...
* make pytest_eventlog.py work again by adding a hack to the registry, rename
* disable resultdb hook plugin, it needs merging with resultlog
* add some docstrings, streamline bits
--HG--
branch : trunk
2009-05-20 23:12:37 +02:00
holger krekel
1973817f11
rename recorder functionality, unify interfaces
...
--HG--
branch : trunk
2009-05-19 19:25:21 +02:00
holger krekel
191d02aef2
* refactor plugin support to work directly with
...
modules, no classes required anymore.
* call funcarg hook if defined on class
--HG--
branch : trunk
2009-05-18 23:26:16 +02:00
holger krekel
1e84a3c451
fixing a windows issues
...
--HG--
branch : trunk
2009-05-07 21:04:56 +02:00
holger krekel
8182d341a5
rename "api" into "hook" in most places.
...
--HG--
branch : trunk
2009-05-07 18:01:53 +02:00
holger krekel
61885cd825
provide testdir.spawn_pytest for pexpect mediated interaction tests,
...
kill code, yay.
--HG--
branch : trunk
2009-05-06 11:47:48 +02:00
holger krekel
170e48d946
fix import issue
...
--HG--
branch : trunk
2009-04-28 23:49:03 +02:00
holger krekel
5e03bdad84
bringing docs and funcargs in sync
...
--HG--
branch : trunk
2009-04-14 19:57:00 +02:00
holger krekel
763d0d72a5
funcargs work mostly according to the documentation
...
--HG--
branch : trunk
2009-04-14 18:30:26 +02:00
hpk
f319a84503
[svn r63910] removing old mentionings of "bus". docstrings.
...
--HG--
branch : trunk
2009-04-09 20:07:05 +02:00
hpk
f8fc229917
[svn r63905] * have pytest pluginmanager do multicalls for registration
...
* more renaming
--HG--
branch : trunk
2009-04-09 17:03:58 +02:00
hpk
5d271b2bde
[svn r63894] grand renaming on plugin-related mostly internal objects.
...
--HG--
branch : trunk
2009-04-09 16:03:09 +02:00
hpk
cd322bd528
[svn r63889] renaming/streamlining missing event usage
...
--HG--
branch : trunk
2009-04-09 02:45:46 +02:00
hpk
cd038ee708
[svn r63888] finally. the event concept is basically gone.
...
now we only have plugin hooks aka plugin calls
--HG--
branch : trunk
2009-04-09 02:36:07 +02:00
hpk
0c4fc99a6f
[svn r63887] move rest of events
...
--HG--
branch : trunk
2009-04-09 02:12:10 +02:00
hpk
e6234fdb61
[svn r63883] * moving many more events to become ordinary plugin hook calls.
...
* bit hackish because the code for handling the old events is
also still there ...
--HG--
branch : trunk
2009-04-09 01:33:48 +02:00
hpk
10e267b7b6
[svn r63786] rename CollectionReport to CollectReport, remove XXX.
...
--HG--
branch : trunk
2009-04-07 13:51:55 +02:00
hpk
a37c32783d
[svn r63785] further renaming, streamlining the testing machinery and helpers.
...
--HG--
branch : trunk
2009-04-07 12:48:57 +02:00
hpk
5b31dfe357
[svn r63780] some renaming
...
--HG--
branch : trunk
2009-04-07 11:53:01 +02:00
hpk
ba6eca8da4
[svn r63628] * shuffle SetupState and fixture handling into runner.py
...
* introduce a itemsetupreport and new setupitem/teardownitem methods.
* more tests
--HG--
branch : trunk
2009-04-04 21:06:20 +02:00
hpk
4aeb929b3c
[svn r63600] merge remaining content of event.py into runner.py.
...
--HG--
branch : trunk
2009-04-04 02:34:20 +02:00
hpk
85635e1239
[svn r63575] killing yet more test "events" and redundant code
...
--HG--
branch : trunk
2009-04-03 18:26:21 +02:00
hpk
45e0499f10
[svn r63566] the InternalException event class bites the dust.
...
--HG--
branch : trunk
2009-04-03 16:18:47 +02:00
hpk
54cc936437
[svn r63560] beginning to review/polish test events
...
* pyevent() now receives args and kwargs as simple arguments
* refactoring event handling in tests
--HG--
branch : trunk
2009-04-03 12:57:34 +02:00
hpk
371a6b9de9
[svn r63461] a few fixes, now figleaf writes files correctly.
...
also changed figleaf plugin to include only
the files of the current working dir.
--HG--
branch : trunk
2009-03-31 19:58:02 +02:00
hpk
662e6905ef
[svn r63359] change funcargs naming to use __
...
--HG--
branch : trunk
2009-03-26 13:50:12 +01:00
hpk
92e354a486
[svn r63339] undo rev 63000 so that there is only one method now for funcargs
...
--HG--
branch : trunk
2009-03-26 10:26:09 +01:00
hpk
74958be548
[svn r63300] * refining pyfuncarg setup, now there is explicit registration!
...
* porting monkeypatch and pytester funcargs to the new method
* fixing a kind-of-a-bug with MultiCalls
--HG--
branch : trunk
2009-03-24 23:00:07 +01:00
hpk
ad6afe21ff
[svn r63209] polish command line options for distributed testing.
...
--HG--
branch : trunk
2009-03-22 18:41:36 +01:00
hpk
d9242d2a75
[svn r63054] several windows fixes, test suite passes now remotely.
...
--HG--
branch : trunk
2009-03-18 21:49:38 +01:00
hpk
5f25395cdd
[svn r63051] be very careful when we cannot unpickle an
...
colitem because its parent can't collect
the same way as on the sending side.
(due to platform skips etc.)
--HG--
branch : trunk
2009-03-18 20:23:38 +01:00
hpk
941d06e509
[svn r63040] try harder to record and auto-exit gateways after test runs
...
--HG--
branch : trunk
2009-03-18 16:51:55 +01:00