-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZAPI Integration #4
Projects
Comments
we should look at creating a custom Zephyr annotation: http://www.mkyong.com/java/java-custom-annotations-example/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a class to enable Zephyr integration
More API details can be found here: http://docs.getzephyr.apiary.io/#reference
Before All Tests
@BeforeSuite
Create a new test cycle
Post to /cycle ZAPI
Name - obtained from Bamboo based on build execution id
Build - obtained from Bamboo
Environment - obtained from Bamboo
Description - obtained from the suite description?
Start Date - today’s date
End Date - today’s date
Project ID - obtained from properties file?
Will return the cycle id - needs to be stored
Before Each Test
@BeforeMethod
Add the test to the test cycle
Post to /execution/addTestsToCycle API
Cycle ID - obtained from above
Issue ID - from annotation description
Add the test execution
Post to /execution API
Cycle ID - obtained from above
Issue ID - from annotation description
Project ID - obtained from properties file?
Assignee - Bamboo
Will return the execution id - needs to be stored
After each test
@AfterMethod
Update the test status
Put to /execution/[ID]/execute API
Execution ID - obtained from above
Status - The Pass/Fail/Skipped result
The text was updated successfully, but these errors were encountered: