nose-test rail plugin.

15 views
Skip to first unread message

Sagar Neve

unread,
Sep 22, 2017, 5:10:50 AM9/22/17
to nose-dev

I really liked the plugin: https://github.com/danggrianto/nose-testrail

When I tried using it. It failed.


When I first ran the module I got below error.

    self.result['status_id'] = 5
AttributeError: 'NoseTestRail' object has no attribute 'result'

Hence, then I added "result = {}" under the line "name = 'nose-testrail'"  and then re-ran the nosetest but got below error.

File "/usr/local/lib/python2.7/dist-packages/nose_testrail/plugin.py", line 127, in get_test_case_id
test_method = getattr(test.test, test_name)
AttributeError: 'FunctionTestCase' object has no attribute 'test_1'

It seem to me that, the module is not able to get the case_id.

Can somebody please help me ?

Thank you.


Blake VandeMerwe

unread,
Sep 22, 2017, 4:24:05 PM9/22/17
to nose-dev
I believe Nose is being deprecated, so it's probably best to use another test runner if you're just starting something new.

`nose.plugins.Plugin` interface probably changed since the test-rail plugin was written 3 years ago.

Sorry
Message has been deleted

Sagar Neve

unread,
Sep 26, 2017, 3:46:37 PM9/26/17
to nose-dev
Thank you for the reply. This means the groups are alive.

I do understand that nose is being deprecated.

However, I am 90% done wiith whatever I wanted to do with nose-tests. it is this thing that is remaining.

If I have a solution for this then I am done.

Can somebody please help ?

Best Regards,
Reply all
Reply to author
Forward
0 new messages