Commit Graph

25 Commits

Author SHA1 Message Date
hpk cc10d84088 [svn r58308] * de-generalize conditional skips and only care
nicely for common tedious causes of skipping:
  import a module and checking it has a certain
  version.  usage example:

  docutils = py.test.importorskip(docutils, minversion="0.4")

* used new helper and cleanup skipping logic in py lib

--HG--
branch : trunk
2008-09-21 17:15:28 +02:00
hpk e77fab82ee [svn r58297] add a new way of conditionally skipping a test:
py.test.skip(ifraises="...")

see more info in the added doc.

also remove a redundant raises test and
cleanup raises code a bit.

--HG--
branch : trunk
2008-09-21 14:50:56 +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 6d5c15b340 [svn r56304] almost any version works
--HG--
branch : trunk
2008-07-04 16:03:19 +02:00
hpk 0590bc0af1 [svn r38744] * adding a section about conftest.py files (removing an XXX)
* removing dead links

--HG--
branch : trunk
2007-02-13 20:10:09 +01:00
hpk 245aa057b4 [svn r38473] rewrote the future section of py test
--HG--
branch : trunk
2007-02-11 17:24:17 +01:00
hpk 5be8668782 [svn r38472] clarifications regarding dist testing
--HG--
branch : trunk
2007-02-11 17:14:40 +01:00
hpk 40c8b10040 [svn r38455] various merging of startup documentation
and rewriting/refactoring information and
references.  clarifying release-structure
a bit.

--HG--
branch : trunk
2007-02-11 14:26:03 +01:00
hpk 4815c6de21 [svn r38220] moved -f and --exec in the documentation as well
--HG--
branch : trunk
2007-02-09 00:41:59 +01:00
guido db4a19f473 [svn r38151] Small change in the text to make it a bit more understandable.
--HG--
branch : trunk
2007-02-08 16:14:52 +01:00
hpk 1390114d82 [svn r38118] there is no gurantee anymore that tests run in order
--HG--
branch : trunk
2007-02-07 21:48:49 +01:00
hpk 77b8a010c5 [svn r38097] streamline boxed test configuration:
"config.option.boxed"  indicates now boxed tests
and RSession.fixoptions takes care to honour
dist_boxed accordingly.  So you can do

    if not py.test.config.boxed:
        py.test.skip(...)

i also fixed the documentation.

--HG--
branch : trunk
2007-02-07 19:43:23 +01:00
cfbolz 157a77ef0a [svn r37992] have real definitions (yes, the empty lines make a difference). rest is strange.
--HG--
branch : trunk
2007-02-06 00:56:14 +01:00
cfbolz d45b45a74e [svn r37991] remove colons and change the subsecion title
--HG--
branch : trunk
2007-02-06 00:53:46 +01:00
cfbolz 9b6787782d [svn r37989] add an overview over py.tests command-line options
--HG--
branch : trunk
2007-02-06 00:50:11 +01:00
cfbolz a430e2b8f5 [svn r37987] split the py.test docs into implementation and customization docs and normal
user docs.

--HG--
branch : trunk
2007-02-06 00:18:22 +01:00
hpk 11591c3c4f [svn r37950] * add and document dist_rsync_ignore option to ignore
files and directories for rsyncing

--HG--
branch : trunk
2007-02-05 02:14:17 +01:00
hpk 95f38694cb [svn r37886] hum, i thought i had refactored this option name already ...
also the wrong name does not even cause a test failure. odd.

--HG--
branch : trunk
2007-02-03 21:35:14 +01:00
cfbolz df0736db08 [svn r37773] typo
--HG--
branch : trunk
2007-02-01 23:27:51 +01:00
hpk ad127323e3 [svn r37502] unify dist_* options and give dist_rsync_roots more precision:
you now specify relative paths (relative to the conftest.py
where a dist_rsync_root setting resides) or absolute paths.

--HG--
branch : trunk
2007-01-28 22:54:12 +01:00
fijal a1b696bdb0 [svn r37301] No longer that way (somebody should read that document once again)
--HG--
branch : trunk
2007-01-24 22:10:01 +01:00
hpk c0535c70ad [svn r37290] * allow only CAPITAL letters for short options
* documentation and test for it
* streamlined documentation a bit

--HG--
branch : trunk
2007-01-24 20:18:46 +01:00
hpk 7cf9824680 [svn r37278] move files from branch to trunk (and thus complete
the merge of the config branch into the trunk)

--HG--
branch : trunk
2007-01-24 17:46:46 +01:00
hpk 5992a8ef21 [svn r37264] create the new development trunk
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00