Commit Graph

44 Commits

Author SHA1 Message Date
holger krekel 677f7c0a6a remove trailing whitespace everywhere
--HG--
branch : trunk
2010-07-26 21:15:15 +02:00
holger krekel 8ba2a98e11 allow to run py.test.cmdline.main() multiple times.
--HG--
branch : trunk
2010-05-11 19:56:22 +02:00
holger krekel db21cac694 cleanup py.test.* namespace, docstrings for improved pydoc and interactive usage.
use new apipkg __onfirstaccess__ feature to initialize the py.test namespace with the default plugins.  This, besides other good implications, means that you can now type:  pydoc py.test   or help(py.test)

--HG--
branch : trunk
2009-12-29 16:29:48 +01:00
holger krekel 425e4849f3 remove/reduce internal global state: py._com.registry is now fully contained and always instantiated from the py.test PluginManager class.
--HG--
branch : trunk
2009-12-29 12:36:17 +01:00
holger krekel a5a94c4e8f largely improve and reshuffle docs, heading strongly towards a 1.1.0
--HG--
branch : trunk
2009-11-05 03:18:55 +01:00
holger krekel fb159b0d40 removing some py.execnet references and moving scripts to execnet repo
--HG--
branch : trunk
2009-10-27 09:19:23 +01:00
holger krekel df8aedba47 adding the console-runtest helper as discussed on py-dev
--HG--
branch : trunk
2009-10-12 11:28:47 +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 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 f0181c35a5 adding a 5 LOC plugin for capturing and ignoring the output of test function calls
--HG--
branch : 1.0.x
2009-08-11 19:02:32 +02:00
holger krekel 1349edd3c6 rename iocapture to capture, add/remove some missing files
--HG--
branch : 1.0.x
2009-08-03 12:16:12 +02:00
holger krekel 771438fde5 * refine and rename pycollect related hooks
* refine runtest/test function call protocol

--HG--
branch : trunk
2009-06-15 15:15:40 +02:00
ralf@brainbot.com 58eba8a9a4 restart system calls on SIGCHLD signals (needed for OS X)
this only works in python >= 2.6.

--HG--
branch : trunk
2009-06-08 15:14:40 +02:00
ralf@brainbot.com a5d42b36d2 adapt to new plugin architecture and misc cleanups:
- exit with non-zero value on import errors
- remove unused imports
- make --twisted-logging a boolean option

--HG--
branch : trunk
2009-06-05 12:05:23 +02:00
ralf@brainbot.com 95c28265a6 fix generator tests
--HG--
branch : trunk
2009-06-03 15:22:14 +02:00
ralf@brainbot.com 4c42bf7f57 fix typos in comments
--HG--
branch : trunk
2009-06-03 15:16:34 +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 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
mzeidler 696734ec2f [svn r63938] Changed methods pyevent_* to pytest_* due to the changed plugin-API.
--HG--
branch : trunk
2009-04-10 15:02:36 +02:00
mzeidler 59bd09ce9a [svn r63932] * Fixed broken setup_method()-mechanism.
* Added --twisted-logging option.
* Added example test-script to the plugin-test.

--HG--
branch : trunk
2009-04-10 13:12:04 +02:00
mzeidler d10eae0313 [svn r63821] Added comment due to the breaking of the setup_method() mechanism.
--HG--
branch : trunk
2009-04-08 12:04:07 +02:00
mzeidler 4893c58d22 [svn r63796] Initial import for pytest_twisted.
--HG--
branch : trunk
2009-04-07 16:07:59 +02:00
mzeidler 76273c3674 [svn r63795] Initial import.
--HG--
branch : trunk
2009-04-07 15:58:12 +02:00
hpk e1f4d651a8 [svn r63683] a small script to perform svn-hotsyncing
--HG--
branch : trunk
2009-04-05 20:40:16 +02:00
hpk 18a0dd8d09 [svn r63542] moving pygreen to greenlet contrib dir
--HG--
branch : trunk
2009-04-02 15:43:26 +02:00
hpk a2e7b1433e [svn r63171] avoid random writes to tempdir
--HG--
branch : trunk
2009-03-21 12:40:31 +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
hpk 2ad9d8a3c6 [svn r59728] fix broken import exposed by a pypy test (bah)
--HG--
branch : trunk
2008-11-05 18:08:39 +01:00
pedronis e4e1e9f26d [svn r58318] (iko, pedronis)
this lives in py.lib trunk proper now

--HG--
branch : trunk
2008-09-22 14:49:41 +02:00
hpk cdb8fa1abe [svn r58288] update TODOs, docstring
--HG--
branch : trunk
2008-09-21 10:17:11 +02:00
hpk eebb9d7257 [svn r58287] add a test for __version__ attr
--HG--
branch : trunk
2008-09-21 09:19:30 +02:00
hpk 634679a4db [svn r58286] also contain URL
--HG--
branch : trunk
2008-09-21 09:18:39 +02:00
hpk 029451edab [svn r58285] add docstring and version info
--HG--
branch : trunk
2008-09-21 09:17:00 +02:00
hpk ad89dfc565 [svn r58284] make sure that "test" prefix is enough.
--HG--
branch : trunk
2008-09-21 08:40:54 +02:00
pedronis 3f7588948c [svn r58113] typo
--HG--
branch : trunk
2008-09-13 16:48:56 +02:00
pedronis a46929a02a [svn r58112] helper to add the required option
--HG--
branch : trunk
2008-09-13 16:46:15 +02:00
pedronis 89814706bc [svn r58111] make the tests runnable also under pypy
--HG--
branch : trunk
2008-09-13 16:38:06 +02:00
arigo 2a706fc8ae [svn r58108] A hyperthreaded cpu core should only count as 1, although it is present as 2
entries in /proc/cpuinfo.  Counting it as 2 is misleading because it is *by
far* not as efficient as two independent cores.

--HG--
branch : trunk
2008-09-13 16:23:30 +02:00
pedronis bb9b0e7361 [svn r58107] first step in moving experimental filelog session into contrib
--HG--
branch : trunk
2008-09-13 15:39:36 +02:00
hpk 53220afc60 [svn r58037] adding small sysinfo script for retrieving remote host information
through execnet.

--HG--
branch : trunk
2008-09-10 13:28:42 +02:00
hpk 3febdb049d [svn r58028] reverting 58009 - webcheck is actually used although not directly tested.
--HG--
branch : trunk
2008-09-09 23:53:38 +02:00
hpk 0c1fe61f44 [svn r58009] move old webcheck things into contrib
--HG--
branch : trunk
2008-09-09 18:51:07 +02:00
hpk 314d103884 [svn r57771] adding Guido's py_unittest unittest TestCase collector, adapting to py/trunk API and simplifing it a bit.
--HG--
branch : trunk
2008-09-02 21:08:45 +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