devolo / pytest-adaptavist Goto Github PK
View Code? Open in Web Editor NEWpytest plugin generating test execution results within Jira Test Management (tm4j)
License: MIT License
pytest plugin generating test execution results within Jira Test Management (tm4j)
License: MIT License
I see errors lie request failed. Invalid URL '/rest/api/2/user/search?username=.&startAt=0&maxResults=200': No schema supplied.
in the pytest startup, due to jira_server
not being set.
The plugin should be inactive unless it has been given the required config values
Hello ! Will this library work with Zephyr Scale 8.0.2-jira7?
Now i used :
`@pytest.mark.project(project_key="PPP", test_run_suffix="11111")
class TestSCM(object):
arm = None
scm_dsr = None
def test_T9299(self, meta_data):`
And I expect that a test run will be created and a test case with the key T9299 is attached to it. What am I doing wrong?
Hello. We're having a trouble with test cases.
I've created Test object and added methods with test_[test-case-key] syntax, and after running, it only creates new test cycle, with no test cases attached to it. All keys are correct. Project key is also added to global_config file.
@pytest.mark.project(project_key="TEST")
class TestIACM(object):
def test_T8254(self, meta_data):
Is there any parameter in config that I might have missed? Or there is other way to add test cases to the cycle?
We could implement a blockif decorator. Behaves just like the skipif decorator but with a blocked testcase in adaptavist afterwards
adaptavists.py -> get_users()
possibly just some limitations due to the version of adaptavists used.
I believe the API endpoint used will need to be updated to API 3.0 where users will need to specify atlassian ID and just verify it exists.
{"errorMessages":["The query parameter 'username' is not supported in GDPR strict mode."],"errors":{}}
found this on atlassian forumns:
and some official documentation here
https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/
feature request
Use decorators on test cases to specify test_key and step vs renaming test function with test_key and step
Instead of this
@pytest.mark.project(project_key="myproject")
class TestAPI(unittest.TestCase):
def test_T1_1(self):
...
this
@pytest.mark.project(project_key="myproject")
class TestAPI(unittest.TestCase):
@pytest.mark.test(test_key="T1", test_step=1)
def test_api_get_obj(self):
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.