jlaska / pytest-github

Plugin for py.test that associates tests with github issues using a marker
MIT License
18 stars 9 forks source link

Add 'raises' keyword argument to pytest.mark.github marker #1

Closed jakemcdermott closed 8 years ago

jakemcdermott commented 8 years ago

This PR adds the raises keyword arg to the github marker. When the raises keyword is used, a test will only be xfailed if the marked function fails with the provided Exception.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 9e7c0821cd8a31db9cc0a59dbc3248054c42cf6c on jakemcdermott:marker_specific_exceptions into e94e5f355d0cb614207339b3a8e921cef8834066 on jlaska:master.

jlaska commented 8 years ago

@jakemcdermott looks great, thanks for the addition! Merging ...