testrail-python icon indicating copy to clipboard operation
testrail-python copied to clipboard

Python library for interacting with TestRail via REST APIs.

Results 20 testrail-python issues
Sort by recently updated
recently updated
newest added

Hi, I'm attempting to use the robotframework-Testrail-reporter from here: https://github.com/vincenzo-gasparo/robotframework-testrail-reporter And found out that the actual pip version 0.3.14 has an issue with setting the payload to send to testrail...

This fixes `TestRail._cases_by_id()`, which otherwise always fails with `TypeError: object of type 'NoneType' has no len()`.

using sample: custom_info = {'custom_version_results':'v123'} result = tr.result(custom_info)

Several changes were required based on my integration testing with TestRail. Hopefully, merge will be approved and a new pypi package generated.

I really like this implementation, but I see that there have been no updates for a while. Are there any plans to keep supporting it?

I cannot do something like: result._content['platform'] = 'blahblah', probably because request fields are statically defined in api.py: @UpdateCache(_shared_state['_results']) def add_results(self, results, run_id): fields = ['status_id', 'test_id', 'comment', 'version', 'elapsed', 'defects',...

This part of result.py, in result.elapsed setter `self._content['elapsed'] = td.seconds` should be: `self._content['elapsed'] = str(td.seconds) + "s"` because from first you get elapsed time in minutes

https://github.com/travispavek/testrail-python/blob/c782ee5ab9a1cbd43c5a0436b4ecaca3abb9f633/testrail/client.py#L336

The April changes to helper.py appear to use parts of the re module API (specifically getting numerical indexes on a re.match object) that are in Python 3 only. The package,...

I disabled test_get_entries_if_none in test_plan.py. I think Moch is returning a list when it should be a dict but I didn't have time to investigate.