holger krekel
066f8e854d
* refine keyboardinterrupt handling for --dist
...
* generate tests for various options
--HG--
branch : 1.0.x
2009-07-22 14:39:09 +02:00
holger krekel
8be0ea942a
introduced pytest_keyboardinterrupt hook
...
removed optional argument from pytest_sessionfinish hook
--HG--
branch : 1.0.x
2009-07-20 14:01:40 +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
db2ef3e9e8
* rename testrunstart/finish to sessionstart and pass it an argument
...
* simplify pyexecnetcleanup plugin
--HG--
branch : trunk
2009-05-22 21:53:26 +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
8182d341a5
rename "api" into "hook" in most places.
...
--HG--
branch : trunk
2009-05-07 18:01:53 +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
2dd3ea7041
[svn r63886] another few events
...
--HG--
branch : trunk
2009-04-09 01:50:02 +02:00
hpk
68c6aaa355
[svn r63885] moving two more events
...
--HG--
branch : trunk
2009-04-09 01:41:35 +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
c516e895fd
[svn r63685] internal renaming of variable name
...
--HG--
branch : trunk
2009-04-05 22:16:27 +02:00
hpk
7b47da2203
[svn r63598] cleanup of imports and shuffling of plugin method.
...
--HG--
branch : trunk
2009-04-04 02:23:04 +02:00
hpk
f14b0c90d9
[svn r63593] have plugin method run the test item and report about it
...
--HG--
branch : trunk
2009-04-04 00:36:29 +02:00
hpk
db60fe7f37
[svn r63588] shift running of test item to be done through a plugin method.
...
--HG--
branch : trunk
2009-04-03 23:18:41 +02:00
hpk
53491b1531
[svn r63571] kill another few test "events"
...
--HG--
branch : trunk
2009-04-03 17:47:16 +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
d1946ae978
[svn r63563] the TestrunFinish event class bites the dust.
...
--HG--
branch : trunk
2009-04-03 14:18:25 +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
069ab6ff5f
[svn r63547] renaming all event consumers to use the "__" convention that
...
is also used for funcargs.
--HG--
branch : trunk
2009-04-02 19:58:51 +02:00
hpk
fc14b038af
[svn r63191] * remove "--exec"
...
* cleanup of options
--HG--
branch : trunk
2009-03-21 20:28:35 +01:00
hpk
75bfb84ea5
[svn r63163] fixing tests, better verbose output for dist-runs
...
--HG--
branch : trunk
2009-03-21 03:04:44 +01:00
hpk
afca655202
[svn r63153] refactoring almost complete, apart from testnodeready info
...
--HG--
branch : trunk
2009-03-20 20:04:36 +01:00
hpk
c44764dc51
[svn r63106] rename host -> gateway in a couple of places
...
--HG--
branch : trunk
2009-03-20 02:09:28 +01:00
hpk
d626a63934
[svn r63017] rename colitem._config to colitem.config - it's an official attribute
...
--HG--
branch : trunk
2009-03-18 00:48:07 +01:00
hpk
881fb3fd05
[svn r62986] fix tests that got broken
...
--HG--
branch : trunk
2009-03-17 08:40:39 +01:00
hpk
6397c38725
[svn r62985] rewrite and fix a skipped test
...
--HG--
branch : trunk
2009-03-17 08:35:58 +01:00
hpk
b5a1f95856
[svn r62978] * introduce --hosts and --rsyncdirs optiosn
...
* re-sort option groups, disable some options for now
* add docstrings to execnet gatewaymanage
* streamline tests a bit
* unify debugging and tracing
--HG--
branch : trunk
2009-03-16 22:17:14 +01:00
hpk
65b75cead6
[svn r62611] yay, the global setupstate died. I guess what kept me from doing that
...
was all kinds of tests breaking. but they are cleaned up now.
so there was no problem. nice.
--HG--
branch : trunk
2009-03-05 22:10:18 +01:00
hpk
a743caef18
[svn r62487] merging hostmanage branch:
...
* cleanup of the way distributed/remote sessions are setup up
* simplified config pickling
* configs are now more correctly wired on receival at remote sides
* introduced py.__.execnet.gwmanage helps managing calls to multiple hosts
* grouping all pickling related tests in test_pickle.py
and showcasing a nice pyfunc_call hack
--HG--
branch : trunk
2009-03-03 18:42:32 +01:00
hpk
c17a09adaf
[svn r62211] merge 60797:HEAD of pytestplugin branch:
...
this merge contains:
* a new plugin architecture
* a pluginized pytest core
* many pytest related refactorings
* refactorings/streamlining of pytest's own tests
--HG--
branch : trunk
2009-02-27 11:18:27 +01:00
pedronis
c52d8bcdde
[svn r59615] given the format and the fact that external timeout logic may kill a py.test emitting a resultlog switching to line buffering
...
seems a good idea
--HG--
branch : trunk
2008-11-01 11:01:44 +01:00
pedronis
8b3fe55158
[svn r58316] (iko, pedronis)
...
move the FileLogSession into the py.lib proper, activated with the option --resultlog (suggestions
for a better name are welcome)
- added its tests
- plus a functional/integration test in test_config in the style of the one for eventlog
--HG--
branch : trunk
2008-09-22 14:34:54 +02:00
arigo
7afc30d130
[svn r58095] (pedronis, arigo)
...
KeyboardInterrupt handling:
* in --verbose mode, print a detailed traceback at the end of
the report.
* in non-verbose mode, only print the file name and line number
where the KeyboardInterrupt occurred. That's the minimal
amount of information that is of any help at all to locate
an infinite loop somewhere.
--HG--
branch : trunk
2008-09-12 22:35:18 +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
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
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
arigo
c5f6b437c8
[svn r49974] Restore the following behavior: py.test exits with an exit code 1
...
when there are failures.
--HG--
branch : trunk
2007-12-21 10:55:40 +01:00
fijal
b97ff86b0f
[svn r47584] Implement very sophisticated algorith for -k TestClass.test to work
...
--HG--
branch : trunk
2007-10-19 15:46:10 +02:00
fijal
28c5aae67d
[svn r46011] Branch merge of session cleanups.
...
* killed _tryiter usage in rsession
* moved reporter one level up, so it can be reused later for normal session
* a lot of small simplifications
--HG--
branch : trunk
2007-08-27 11:02:50 +02:00
fijal
50d77c64c0
[svn r41860] * kill start_on
...
* add keyword_oneshot flag, which indicates that -k is only one shot
than all tests are run
* simplify code a bit
--HG--
branch : trunk
2007-04-03 19:28:04 +02:00
fijal
d8e5e63235
[svn r41855] Add a bit hackish option which allows to start from selected
...
keyword test, doesn't work with rsession yet.
--HG--
branch : trunk
2007-04-03 17:23:00 +02:00
hpk
3ab95e5672
[svn r38747] hum, a last-minute namespace change: i missed
...
that fijal didn't move py.test.Item|Function to the py.test.collect namespace
at the time. a pypy fix will follow shortly after i merged the dist.
--HG--
branch : trunk
2007-02-13 20:21:53 +01:00
fijal
f5308aba2d
[svn r37881] Some other stuff goes private
...
--HG--
branch : trunk
2007-02-03 19:52:21 +01:00
fijal
1dca2498fb
[svn r37877] Intermediate checkin for some privatising of attributes
...
--HG--
branch : trunk
2007-02-03 19:29:24 +01:00
fijal
9b62f2290c
[svn r37862] Move Skipped/Failed/Passed out of public namespace
...
--HG--
branch : trunk
2007-02-03 13:14:46 +01:00
hpk
1d3519bfe0
[svn r37465] * all Sessions now have fixoptions()
...
* added some tests for implied and conflicting options
* make all Session objects inherit from the base session
* small cleanups with respect to test setup
* separate tests a bit
--HG--
branch : trunk
2007-01-28 14:25:03 +01:00