Commit Graph

1173 Commits

Author SHA1 Message Date
holger krekel a72b351139 * performing funcarg setup during setup-phase
* make item.runtest() be a clean function and have
  the caller deal with the deprecated invocation

--HG--
branch : trunk
2009-05-06 08:38:42 +02:00
holger krekel aad04ea8ae * kill some code and indirections
* have metainfo() directly provide fileinfo + message

--HG--
branch : trunk
2009-05-05 23:52:25 +02:00
holger krekel 3245b0c1af greatly refine deprecaction warnings and use new "recwarn" plugin for it.
--HG--
branch : trunk
2009-05-05 22:31:18 +02:00
holger krekel 671684be5c a new plugin for asserting that warnings have been shown to a user.
--HG--
branch : trunk
2009-05-05 21:24:47 +02:00
holger krekel 170e48d946 fix import issue
--HG--
branch : trunk
2009-04-28 23:49:03 +02:00
holger krekel 91c78274f5 fix missing import skip problem
--HG--
branch : trunk
2009-04-28 23:17:04 +02:00
holger krekel 3b052e9f7f extend py.cleanup to supply a list of extensions to clean
--HG--
branch : trunk
2009-04-28 23:00:57 +02:00
holger krekel a5ab200b9f fixing compat test for 2.6
--HG--
branch : trunk
2009-04-28 22:48:22 +02:00
holger krekel 9533acb9aa due to "conftest.py" already being loaded when collecting directories
we cannot skip here.

--HG--
branch : trunk
2009-04-28 19:54:19 +02:00
holger krekel 44abdc9391 add an example for lazy "per-directory" setup.
--HG--
branch : trunk
2009-04-28 19:49:48 +02:00
holger krekel 46be553c25 better error messages as discussed here:
http://codespeak.net/pipermail/py-dev/2009q2/001113.html

--HG--
branch : trunk
2009-04-28 18:11:38 +02:00
holger krekel 975e681552 refine error message for inconsistently failing asserts
--HG--
branch : trunk
2009-04-28 12:10:56 +02:00
holger krekel 84f2d332ce fix test for preparsed -p
--HG--
branch : trunk
2009-04-17 20:35:23 +02:00
holger krekel c8de661ef6 fixes #3
added tests and fix for early parsing of "-p" option

--HG--
branch : trunk
2009-04-17 20:09:29 +02:00
holger krekel 3a9d2873b5 more or less fixes #4 along with changeset e07b15140498
note that i don't understand why the twisted plugin went
through the "wrapper" function.  seems to work just
fine for me without it.  also added the "True"
return value which indicates we handled the call.
however, the plugin hook will need some refinments.
see XXXs.

--HG--
branch : trunk
2009-04-17 19:33:38 +02:00
holger krekel 2fd437e465 ref addresses 4
The first non-None value returned by a pytest_pyfunc_call hook
method now indicates that the function call has been performed.

--HG--
branch : trunk
2009-04-17 19:25:15 +02:00
holger krekel 9620583e82 remove unused import, fix failing test mode
--HG--
branch : trunk
2009-04-17 14:06:38 +02:00
holger krekel f6765f4c8b merging from py-trunk
--HG--
branch : trunk
2009-04-17 13:56:47 +02:00
hpk 945c72ddf3 [svn r64263] fix failing test on windows
--HG--
branch : trunk
2009-04-17 13:40:13 +02:00
hpk b3e22554d7 [svn r64259] porting afa's 64232 and 64253 to trunk
--HG--
branch : trunk
2009-04-17 13:30:55 +02:00
Michael Zeidler 1da363472e Deleted duplicate declaration of 'pytest_item_runtest_finished()'.
--HG--
branch : trunk
2009-04-15 13:39:50 +02:00
holger krekel 9ad1efe91d * don't version generated .html files
* schedule _findpy for removal sometime

--HG--
branch : trunk
2009-04-15 12:19:19 +02:00
hpk 4157de8aaf [svn r64091] adding missing file
--HG--
branch : trunk
2009-04-15 12:11:39 +02:00
hpk fa7fff373f [svn r64077] sync from hg-trunk
--HG--
branch : trunk
2009-04-14 23:04:57 +02:00
holger krekel 6b1b3a3494 fix funcarg usage in execnet, regen setup
--HG--
branch : trunk
2009-04-14 23:01:46 +02:00
holger krekel ae6ba1c0a8 adding a bit to changelog although that's almost hopeless
--HG--
branch : trunk
2009-04-14 22:40:46 +02:00
holger krekel 6dd3807914 merging funcargs docs and branch
--HG--
branch : trunk
2009-04-14 22:31:37 +02:00
holger krekel e976fb36fd finalized docs and funcarg attributes, i think
--HG--
branch : trunk
2009-04-14 21:36:57 +02:00
holger krekel 5e03bdad84 bringing docs and funcargs in sync
--HG--
branch : trunk
2009-04-14 19:57:00 +02:00
holger krekel 792dce025c fix reporting failure
--HG--
branch : trunk
2009-04-14 19:24:45 +02:00
holger krekel b3eafdd776 avoid .swp files
--HG--
branch : trunk
2009-04-14 18:43:43 +02:00
holger krekel 9c6a790992 remove print, shift code
--HG--
branch : trunk
2009-04-14 18:42:36 +02:00
holger krekel 763d0d72a5 funcargs work mostly according to the documentation
--HG--
branch : trunk
2009-04-14 18:30:26 +02:00
holger krekel f0a277008a fix a bug
--HG--
branch : trunk
2009-04-14 17:25:59 +02:00
holger krekel de4c2dc98d implement request object as per docs
--HG--
branch : trunk
2009-04-14 02:59:50 +02:00
holger krekel 70840f605e move tests to test_funcargs.py and start with new request object tests
--HG--
branch : trunk
2009-04-14 02:23:42 +02:00
holger krekel 04aec935bd fix note on funcargs
--HG--
branch : trunk
2009-04-14 00:05:23 +02:00
holger krekel 2456c77e1e refining docs
--HG--
branch : trunk
2009-04-13 20:11:14 +02:00
holger krekel 5424d3ed28 fixing ReST typo
--HG--
branch : trunk
2009-04-13 19:56:11 +02:00
holger krekel ee78661775 refining docs further
--HG--
branch : trunk
2009-04-13 19:51:42 +02:00
holger krekel 1dc9ac62ca refinements
--HG--
branch : trunk
2009-04-13 19:36:58 +02:00
holger krekel 46ee6beaa9 streamline
--HG--
branch : trunk
2009-04-13 16:37:22 +02:00
holger krekel 2a72f75d58 refining formulations
--HG--
branch : trunk
2009-04-13 16:35:23 +02:00
holger krekel 4a33940d82 section on xUnit style setups, better linking, some streamlining
--HG--
branch : trunk
2009-04-13 16:29:06 +02:00
hpk 236f84d6d4 [svn r64029] * move test docs into their own subdir
* don't use sphinx for now, put the support code to attic
* remove some old docs

--HG--
branch : trunk
2009-04-13 15:58:26 +02:00
holger krekel fe59ed04d5 small updates
--HG--
branch : trunk
2009-04-13 15:09:12 +02:00
holger krekel e9b8e4141a update docs
--HG--
branch : trunk
2009-04-13 15:00:00 +02:00
hpk 0324f84a78 [svn r64028] use pygments for syntax-coloring python code and console
--HG--
branch : trunk
2009-04-13 14:54:58 +02:00
hpk 58c4366fb9 [svn r64027] make parser.getgroup create a group if it doesn't exist
--HG--
branch : trunk
2009-04-13 14:54:32 +02:00
holger krekel dfc6ac3b5a use pygments for sourcecode highlightning
--HG--
branch : trunk
2009-04-13 14:36:16 +02:00