Commit Graph

454 Commits

Author SHA1 Message Date
holger krekel 8b3ac3b03a also set release 2012-06-07 19:26:18 +02:00
holger krekel 6af20a5290 use doc-versions that can increment separately from the pytest version 2012-06-07 19:18:50 +02:00
holger krekel eb1b1005ae added an example on how to do python2/python3 customized test collection 2012-06-07 12:39:53 +02:00
holger krekel 6fd57ec786 extend marker section with a platform example 2012-06-06 16:34:13 +02:00
t2y 03a814a859 added Japanese translation for 2.2.4 (79a5b776a6f3) 2012-06-06 08:58:02 +09:00
t2y b4c2161e35 fixed to find the CHANGELOG's path 2012-06-06 08:54:35 +09:00
t2y 9198069739 added "docs/en" directory and moved 2012-06-06 08:52:53 +09:00
holger krekel 971f96468c fix py2py3 example tests 2012-06-03 16:10:10 +02:00
holger krekel c11202b549 remove pyc file 2012-06-01 20:13:18 +02:00
holger krekel 42d63832b7 draft example for skipping py2 and py3 only tests on
a per-module level.
2012-05-23 23:40:41 +02:00
holger krekel f5f3fe54d5 update examples with 2.2.4 version, ReST fixes 2012-05-22 18:30:34 +02:00
holger krekel 69fc6987ad upgrade inlined distribute_setup.py 2012-05-22 17:24:43 +02:00
holger krekel 0790f7a75f fix issue 144 - wrong classname in junitxml 2012-05-22 17:18:04 +02:00
Jonathan Peirce 91c41cd6b3 minor fix to docs/usage 2012-05-22 12:24:53 +01:00
holger krekel e18abfd013 fix issue143 - call unconfigure/sessionfinish always when
configure/sessionstart where called

use exitcode 4 (instead of 3 which signaled an internal error)
when an initial directory/file was not found
2012-05-17 23:11:23 +02:00
holger krekel 329dca42a7 add release announcement 2012-05-17 15:25:58 +02:00
Ronny Pfannschmidt 166aae4418 word change in the docs fixes #130 2012-03-22 08:26:37 +01:00
Ronny Pfannschmidt 812ba87f37 add acomment so highlighting won\'t fail 2012-03-15 15:22:13 +01:00
Ronny Pfannschmidt 2b0887fa5f document integration with setuptools/distribute test command and tests_require 2012-03-15 15:15:21 +01:00
holger krekel 51d29cf4c6 mention 2.2.3 in 2.2.2 release announce 2012-02-05 23:54:20 -05:00
holger krekel 87b4cb283f regen docs / examples for 2.2.2 2012-02-05 18:33:04 -05:00
holger krekel 83505b790d preparing release 2.2.2 2012-02-05 17:32:01 -05:00
holger krekel a756dc8106 fix issue118 - typo 2012-02-02 06:24:12 -05:00
holger krekel d88fe07377 fix link to pdf from contents page 2012-01-19 20:53:21 +01:00
holger krekel 2e23057804 remove nonsennse part of commit related to "mp" shortcut.
I wonder if introducing "mp" as a shortcut to monkeypatch
is a good idea, actually :)
2012-01-06 20:40:14 +00:00
holger krekel 303f49a5ad bump version, mention "mp" also in the docs and changelog 2012-01-06 20:37:18 +00:00
holger krekel ccc1b21ebd internally keep multiple applications of the same markers as separate
entities such that the new iter() API can iterate over pytest.mark
function attributes, getting all such applications.  See added example
for more info.
2011-12-28 15:47:18 +00:00
holger krekel dc0535f7d5 fix typo, thanks jurko 2011-12-20 14:12:12 +00:00
holger krekel f5f8695587 add 2.2.1 announce to index 2011-12-16 12:12:23 +00:00
holger krekel b83a3bcc80 mention pytest-xdist-1.8 2011-12-16 11:43:05 +00:00
holger krekel 3a3f69372f regen docs, prepare release 2.2.1 2011-12-16 10:38:34 +00:00
Jurko Gospodnetić af0edf0d10 Documentation cleanup - corrected typos & minor stylistic changes. 2011-12-05 11:10:48 +01:00
holger krekel 50c9e3f654 improve parametrize() docs 2011-11-19 23:45:05 +00:00
holger krekel 59b8ea1746 fix makeinstall 2011-11-18 21:28:14 +00:00
holger krekel cf02fb60c1 isolate test example run 2011-11-18 21:26:38 +00:00
holger krekel 679d72eedf fix typo in alfredo's name 2011-11-18 19:16:00 +00:00
holger krekel 48e6823c7a small fix to release announcement 2011-11-18 18:45:15 +00:00
holger krekel 6b4e6eee09 improve release announcement, shift and fix examples a bit. Bump version to 2.2.0 2011-11-18 18:32:11 +00:00
holger krekel a5e7b2760d fix issue90 - perform teardown after its actual test function/item. This is implemented by modifying the runtestprotocol to remember "pending" teardowns and call them before the setup of the next item. 2011-11-18 16:01:29 +00:00
holger krekel ec0565fac5 introduce metafunc.parametrize() and @pytest.mark.parametrize with examples. deprecate metafunc.addcall() 2011-11-17 11:09:21 +00:00
holger krekel a51e52aee3 fix issue89 apply Daniel Nouri's patch to doctest/--pdb interaction. 2011-11-15 13:28:22 +00:00
holger krekel 9d3e51af9f fix issue50 (add a reference to the already implemented -m) and improve release annoucnement and changelog. 2011-11-12 15:10:12 +00:00
holger krekel 36c42b5c15 introduce a new -m mark_expression option 2011-11-11 23:02:06 +00:00
holger krekel bc8ee95e72 add ini-file "markers" option and a cmdline option "--markers" to show defined markers. Add "skipif", "xfail" etc. to the set of builtin markers shown with the --markers option. 2011-11-11 22:56:11 +00:00
holger krekel 67fbd24ebf improve mark.txt document and add new regristration/markers features.
(welcome to documentation driven development)
2011-11-11 22:56:06 +00:00
holger krekel 7144cec580 avoid race condition in test, fix doc link 2011-11-08 22:06:57 +00:00
holger krekel 29bf205f3a make --durations also show the execution times of setup/teardown calls. This requires a slight incompatibility - pytest_runtest_logreport now sees setup/teardown reports even if the tests passed. 2011-11-08 17:53:46 +00:00
holger krekel 3b9fd3abd8 introduce --durations=N showing slowest test executions 2011-11-08 17:20:56 +00:00
holger krekel ae54151467 fix issue83 - add a link to already generated list of funcargs 2011-10-21 15:45:56 +02:00
holger krekel 448f1c0d9c add 2.1.3 release announce to index, add floris to thanks 2011-10-18 20:58:19 +02:00
holger krekel 346da57a8a bump to version 2.1.3, add release announce, regen docs (with make regen) 2011-10-18 20:07:45 +02:00
holger krekel 172d46abd0 add release announcement for 2.1.2 2011-09-24 08:06:39 +02:00
holger krekel b490047b1c make pip a bit more prominent now that it works on py3 2011-09-23 07:35:47 +02:00
Dinu Gherman fab7615c8a Capitalised start of headlines, added -ing to a few headlines. 2011-09-06 11:43:42 +02:00
holger krekel 88c5299a94 fix announcement 2011-08-20 18:51:53 +02:00
holger krekel 09933b8b04 bump to 2.1.1, regen examples, add release announcement 2011-08-20 18:37:00 +02:00
holger krekel fb1b1d9aae jython-2.5.2 has a core bug preventing pytest to run :( 2011-08-19 19:25:52 +02:00
holger krekel fba2079292 bump version number, refine goodpractises wrt to importing test modules 2011-08-19 07:58:50 +02:00
holger krekel a70293fdb7 add ability to build pytest man page with "cd doc ; make man". Is to be
found in doc/_build/man/pytest.1 afterwards.

also streamline PDF generation a bit.
2011-07-14 23:13:32 +02:00
holger krekel 46b1348b79 merge heads 2011-07-12 17:21:48 +02:00
holger krekel 709da3fe84 add benjamin's post to docs, up version, open changelog 2011-07-12 10:38:02 +02:00
holger krekel dd4b252749 add experimental "+1" button 2011-07-09 13:48:55 +02:00
holger krekel 59067684cd switching back to pytest.org self-hosting for docs - there is too much issues where i needed/need to poke people :/ 2011-07-09 13:23:58 +02:00
holger krekel 50c8218501 mention pypi package name 2011-07-09 12:02:22 +02:00
holger krekel dc8225afea adding release announcement 2011-07-08 13:16:32 +02:00
holger krekel 8713f4ba60 fix issue 35 - provide download link and improved PDF version 2011-07-08 12:42:26 +02:00
holger krekel 79ac8c6681 reshuffle start page as per gutworth feedback 2011-07-06 22:05:48 +02:00
holger krekel 418cd482b1 fix a doc link 2011-07-06 21:47:33 +02:00
holger krekel df85ddf0d2 don't import py 2011-07-06 20:25:54 +02:00
holger krekel e7c8fc7db9 rearrange and streamline documentation navigation to better work
with readthedocs and also with PDF generation.
2011-07-06 20:21:59 +02:00
holger krekel 46950ef19a rename and simplify the assert option:
cmdline usage is now: --assert=rewrite/reinterp/plain
there is no conflict detection (don't think that's neccessary)
2011-07-05 17:29:53 +02:00
Benjamin Peterson 4fcd346838 update assert docs 2011-06-29 10:52:39 -05:00
holger krekel f4eb15632d refine and streamline Floris example for an assert_reprcompare hook. 2011-06-20 18:12:48 +02:00
Floris Bruynooghe d027f9d546 Add pytest_assertrepr_compare() docs 2011-06-20 14:18:12 +02:00
holger krekel 8de50347fb some fixes and clarifications to assert docs 2011-06-18 22:30:46 +02:00
Benjamin Peterson 4b4a2c8162 merge heads 2011-06-18 15:09:50 -05:00
Benjamin Peterson 29d58ffdf2 note condition for introspection happening 2011-06-18 15:07:36 -05:00
holger krekel 9ea58242d4 fix getting-started which claimed you need to avoid side effect in asserts 2011-06-15 07:50:34 +02:00
Benjamin Peterson 8f6477f695 fix spacing 2011-06-12 16:39:38 -05:00
holger krekel ce1b456762 back out pytest_configure_funcargs hook for now 2011-06-01 15:08:54 +02:00
holger krekel 5690beab5a merge Benjamin's assertion-rewrite branch: all assertion related code is now part of py.test core distribution - the builtin assertion plugin to be precise.
See doc/assert.txt for details on how what has been improved.
2011-05-31 14:11:53 +02:00
Benjamin Peterson 00dee742b0 describe how assert rewriting interacts with cross test imports 2011-05-28 19:00:47 -05:00
holger krekel 4b7293428b add Mozilla QA people to pytest users 2011-05-29 00:47:32 +02:00
Benjamin Peterson 6fdcecb864 typo 2011-05-28 16:04:36 -05:00
Benjamin Peterson f63ff5267c s/debugging/introspection/ 2011-05-28 16:01:02 -05:00
Benjamin Peterson e98057130d a few more sentences 2011-05-27 12:30:27 -05:00
Benjamin Peterson 606ea870f0 versionadded and versionchanged for asserts 2011-05-26 23:13:39 -05:00
Benjamin Peterson e22d3e03fe doc updates for new assertion debugging 2011-05-26 21:08:55 -05:00
Ronny Pfannschmidt b6815538c5 introduce the pytest_configure_funcargs hook for better control on funcarg instanciation/configuration 2011-05-12 23:47:05 +02:00
holger krekel ea936213bc fix link to pypy tests 2011-05-12 13:52:14 +02:00
holger krekel 07e870dc14 unbump version to retag 2011-05-11 11:54:30 +02:00
holger krekel ee53b1f591 bump version 2011-05-11 11:23:46 +02:00
holger krekel 63ccec90be regen examples to use 2.0.3 version number 2011-05-01 12:38:56 +02:00
holger krekel f8137390c2 add release announcement 2011-04-17 23:16:14 +02:00
holger krekel cf4e14baed add @classmethod although it's not strictly neccessary for basic cases. 2011-03-16 19:05:28 +01:00
holger krekel 6aaaaa8e67 fix issue link 2011-03-11 15:25:37 +01:00
holger krekel 527bc472a8 fix install location 2011-03-09 13:59:00 +01:00
holger krekel 007f0daeb9 bump to release version, regenerate docs 2011-03-09 10:58:36 +01:00
holger krekel f8e3fe8fbf mention that one might need to use the pypi.testrun.org repository 2011-03-07 11:53:14 +01:00
holger krekel 22fac92ca0 improve and clarify skipping docs 2011-03-05 13:08:43 +01:00