Skip to content

Fail to load allure plugin with pytest-3.2.0 #123

@kevanescence

Description

@kevanescence

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Hi,

I'm currently using the nose_allure plugin which is, if I understand well, a simple port of pytest allure adaptator.
With pytest-3.1.3 everything works well.

Reproduction steps

virtualenv $HOME/pytest3.2
pip install requests==2.12.1 nose python-dateutil nose-exclude nose-allure-plugin selenium netifaces nose_parameterized

Use the following test file:

from unittest import TestCase
import nose

class DummyTest(TestCase):

    def test_dummy(self):
        self.fail("You do not have the allure plugin issue")

Run the scenario

nosetests -s -v scenario_test.py --with-allure --logdir ~/tmp/ 

$HOME/pytest3.2/local/lib/python2.7/site-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin allure = nose_allure:Allure: cannot import name XFailed
  RuntimeWarning)
Usage: nosetests [options]

nosetests: error: no such option: --with-allure

Please tell us about your environment:

python 2.7.6

enum34 (1.1.6)
lxml (3.8.0)
namedlist (1.7)
netifaces (0.10.6)
nose (1.3.7)
nose-allure-plugin (1.0.5)
nose-exclude (0.5.0)
nose-parameterized (0.6.0)
olefile (0.44)
Pillow (4.2.1)
pip (9.0.1)
py (1.4.34)
pytest (3.1.3)
pytest-allure-adaptor (1.7.7)
python-dateutil (2.6.1)
requests (2.12.1)
selenium (3.4.3)
setuptools (18.2)
six (1.10.0)
wheel (0.24.0)

Other information

Regards,

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions