Commit Graph

637 Commits

Author SHA1 Message Date
palaviv 53429ed8b8 Added hook to plugin docs and new CHANGELOG record 2016-04-25 18:03:34 +03:00
Ronny Pfannschmidt 52babba33e Update sprint 2016 2016-04-23 08:56:28 +02:00
Ana Ribeiro f02f72e651 Update sprint2016.rst 2016-04-23 00:11:44 -03:00
Florian Bruhin 75160547f2 Use a callable __tracebackhide__ for filtering
While this leads to slightly more complicated user code for the common
case (checking if the exception is of a given type) it's easier to
implement and more flexible.
2016-04-20 11:09:27 +02:00
Florian Bruhin b607f6728f Filter selectively with __tracebackhide__
When __tracebackhide__ gets set to an exception type or list/tuple of
exception types, only those exceptions get filtered, while the full
traceback is shown if another exception (e.g. a bug in a assertion
helper) happens.
2016-04-20 10:25:33 +02:00
Omar Kohl c578226d43 Implement ExceptionInfo.match() to match regexp on str(exception)
This implements similar functionality to
unittest.TestCase.assertRegexpMatches()

closes #372
2016-04-03 11:22:44 +02:00
Bruno Oliveira 5fcce8a7d6 Merge branch 'master' into merge-master-into-features 2016-03-18 18:26:56 -03:00
nicoddemus 168daaa71f Regendocs 2016-03-17 17:13:41 -04:00
nicoddemus 43fc1b47c0 Add announce doc 2016-03-17 17:10:02 -04:00
Florian Bruhin 1d35a03812 Update talks page 2016-03-17 06:37:49 +01:00
Tareq Alayan fa6acdcfd4 junitxml: add properties node in testsuite level
The commit allow users to add a properties node in testsuite level see
example below:

<testsuite errors="0" failures="0" name="pytest" skips="1" tests="1"
time="11.824">
  <properties>
    <property name="ARCH" value="PPC"/>
    <property name="OS" value="RHEL 7.2"/>
    <property name="TestPlanURL" value="https://url.."/>
    <property name="Automated" value="True"/>
  </properties>
  <testcase classname="git.....>
  </testcase>
</testsuite>

The current situation is that properties node can be added to every
testcase node. However, sometimes we need some global properties that
applies to all testcases and give better description for the testsuite
itself.
2016-03-16 13:24:33 +02:00
Kale Kundert 5dab0954a0 Add approx() to the Sphinx docs. 2016-03-07 18:14:49 -08:00
Bruno Oliveira 28937a5cd9 Add versionadded directive to doctest_namespace section 2016-03-02 23:37:51 -03:00
Matt Williams 6dd2ff5332 Correct indentation in documentation 2016-03-02 13:02:15 +00:00
Matt Williams 891e029518 Add a new doctest_namespace fixture
This fixture can be used to inject names into the namespace in which
your doctests run.
2016-03-02 12:43:57 +00:00
Bruno Oliveira e656dbb602 Merge branch 'release-290' 2016-03-01 18:45:33 -03:00
Floris Bruynooghe 63b69326b8 Add company name to flub in sprint attendees 2016-03-01 10:17:31 +00:00
nicoddemus 19d05814d2 Fix reference to _CallOutcome in docs 2016-02-29 17:09:31 -05:00
nicoddemus 7d2b65813e Fix typo in CHANGELOG 2016-02-29 16:48:28 -05:00
nicoddemus f82c03833f Regendocs 2016-02-29 15:52:56 -05:00
nicoddemus 486421fca2 Release announcement for 2.9.0 2016-02-29 15:47:23 -05:00
Raphael Pierzina 89151b8c63 Add company name to @hackebrot in sprint attendees 2016-02-27 22:15:07 +00:00
Raphael Pierzina a95fe3693b Add auto to tb styles (new default since v2.6) 2016-02-27 20:54:44 +00:00
Bruno Oliveira 310bada6f5 Merge pull request #1409 from nicoddemus/builtin-fixtures-docs
Add reference to some builtin fixtures in "contents"
2016-02-25 15:46:33 -03:00
holger krekel a50209b29e add some more people, and preliminary company affiliations 2016-02-25 06:50:19 +01:00
Bruno Oliveira c78a8b28dc Add reference to some builtin fixtures in "contents"
Fix #1408
2016-02-23 17:26:24 -03:00
Matt Williams fc4e240596 Correct JUnit test invocation example 2016-02-23 10:05:51 +00:00
Raphael Pierzina 19536c9f05 Add full MIT license text to the docs section 2016-02-17 00:54:54 +00:00
Raphael Pierzina e4c1b9c1c4 Add link to license page to index.rst 2016-02-17 00:47:49 +00:00
Raphael Pierzina 25aed0dca8 Add a license section to the docs toc 2016-02-16 19:42:16 +00:00
TomV 3dd50d039d Fix rst syntax 2016-02-15 23:07:31 +00:00
Bruno Oliveira 7823838e69 Add strict option to xfail, making tests which XPASS to actually fail the suite
Fix #1355
2016-02-14 20:52:27 -02:00
holger krekel fa601de5c4 update participants 2016-02-13 16:55:16 +01:00
holger krekel 8284d14ec4 re-introduce topics 2016-02-13 16:54:06 +01:00
holger krekel 238dcd8bae some layout refinements 2016-02-13 14:30:10 +01:00
holger krekel b95ff7104c Merge branch 'master' of https://github.com/pytest-dev/pytest
removed doc/en/announce/sprint-funding-2016.txt
because /doc/en/announnce/sprint2016.txt is the one which
we published.
2016-02-13 14:18:05 +01:00
Ronny Pfannschmidt dc7f76c276 adapt the header text based on a discussion with bruno 2016-02-13 13:40:59 +01:00
Ronny Pfannschmidt 20bd56f4b2 give the header contrast 2016-02-13 13:24:28 +01:00
Ronny Pfannschmidt 48b62e4d89 add links for the funding campaign in the header and sidebar 2016-02-12 21:14:06 +01:00
holger krekel 48109b0e60 remove superflous file 2016-02-09 15:45:51 +01:00
holger krekel fdce2306a7 fix names once again 2016-02-09 15:44:32 +01:00
Florian Bruhin f00577f7c4 Also fix Brianna's name. 2016-02-09 15:37:45 +01:00
Florian Bruhin 569dbeb087 Fix names properly. 2016-02-09 15:36:59 +01:00
holger krekel 05aad5c381 fix brianna's name once again 2016-02-05 14:12:35 +01:00
holger krekel 1e0088a949 fix EUR->USD 2016-02-05 14:11:30 +01:00
holger krekel ba3b29e831 add a link to lieve indiegogo campaign in the pytest sprint page 2016-02-05 14:04:32 +01:00
holger krekel 6218e20e88 - preliminary sprint page, not yet linked through the header
- also removed plugins_index call from tox.ini "doc" env because it's not there
2016-02-05 11:34:40 +01:00
Ronny Pfannschmidt 7b2956e10b merge latest master into features as well 2016-02-05 00:13:48 +01:00
Ronny Pfannschmidt de1a9f574c merge from master 2016-02-05 00:10:28 +01:00
holger krekel c0024a723d fixed name 2016-01-30 19:12:41 +01:00