Skip to content
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

Open
msaperst opened this issue Jun 8, 2017 · 1 comment
Open

ZAPI Integration #4

msaperst opened this issue Jun 8, 2017 · 1 comment
Projects

Comments

@msaperst
Copy link
Contributor

msaperst commented Jun 8, 2017

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

@msaperst msaperst added this to To Do in Selenified 2.0.1 Jun 8, 2017
@msaperst msaperst removed this from To Do in Selenified 2.0.1 Jul 20, 2017
@msaperst msaperst added this to To Do in Selenified 3.0.0 Jul 20, 2017
@msaperst
Copy link
Contributor Author

msaperst commented Aug 2, 2017

we should look at creating a custom Zephyr annotation: http://www.mkyong.com/java/java-custom-annotations-example/

@msaperst msaperst removed this from To Do in Selenified 3.0.0 Aug 15, 2017
@msaperst msaperst added this to To do in Selenified Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Selenified
  
To do
Development

No branches or pull requests

1 participant