{"id":21469543,"url":"https://github.com/bliblidotcom/cucumber-serenity-testlink-integration","last_synced_at":"2025-03-17T06:32:18.009Z","repository":{"id":42068630,"uuid":"237908086","full_name":"bliblidotcom/cucumber-serenity-testlink-integration","owner":"bliblidotcom","description":"Integration between Cucumber , Serenity and Testlink , It will create automatically testlink test case","archived":false,"fork":false,"pushed_at":"2022-11-16T02:58:58.000Z","size":535,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-23T16:11:35.556Z","etag":null,"topics":["automation-test","cucumber-jvm","serenity-cucumber","testlink"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bliblidotcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-03T07:25:19.000Z","updated_at":"2023-04-12T07:14:55.000Z","dependencies_parsed_at":"2022-08-12T04:00:40.607Z","dependency_job_id":null,"html_url":"https://github.com/bliblidotcom/cucumber-serenity-testlink-integration","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bliblidotcom%2Fcucumber-serenity-testlink-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bliblidotcom%2Fcucumber-serenity-testlink-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bliblidotcom%2Fcucumber-serenity-testlink-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bliblidotcom%2Fcucumber-serenity-testlink-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bliblidotcom","download_url":"https://codeload.github.com/bliblidotcom/cucumber-serenity-testlink-integration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243986353,"owners_count":20379312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation-test","cucumber-jvm","serenity-cucumber","testlink"],"created_at":"2024-11-23T09:16:41.208Z","updated_at":"2025-03-17T06:32:17.981Z","avatar_url":"https://github.com/bliblidotcom.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cucumber Serenity Testlink Integration\n--------------------------\n[![Build Status](https://travis-ci.org/bliblidotcom/cucumber-serenity-testlink-integration.svg?branch=master)](https://travis-ci.org/bliblidotcom/cucumber-serenity-testlink-integration)\nThis is a Plugin for integrating your cucumber test to Testlink via API \n\nIt will Create, Update , and Report your test Result in testlink based on your cucumber Steps\n\n#### Requirement\n- Testlink With Version 1.9.15 or higher \n- Java 8 \n\n#### Usage\n \nAdd this in your ```pom.xml```\n\n```xml\n                \u003cplugins\u003e\n                   ...........Your Other Plugin.......\n                \u003cplugin\u003e\n\t    \t\u003cgroupId\u003ecom.github.bliblidotcom\u003c/groupId\u003e\n\t    \t\u003cartifactId\u003ecucumber-serenity-testlink-integration\u003c/artifactId\u003e\n                \u003cversion\u003e4.0.1\u003c/version\u003e\n                \u003cexecutions\u003e\n                    \t\u003cexecution\u003e\n                        \t\u003cphase\u003epost-integration-test\u003c/phase\u003e\n                        \t\t\u003cgoals\u003e\n                            \t\t\t\u003cgoal\u003etestlink-serenity\u003c/goal\u003e\n                        \t\t\u003c/goals\u003e\n                        \t\u003cconfiguration\u003e\n                            \t\t\u003ctestlinkURL\u003e[Your Testlink URL]/lib/api/xmlrpc/v1/xmlrpc.php\u003c/testlinkURL\u003e\n                            \t\t\u003cdevKey\u003eYour Testlink Dev Key\u003c/devKey\u003e\n                            \t\t\u003cprojectName\u003eYour Project Name in testlink (Ex Finance , Android Apps)\u003c/projectName\u003e\n               \t            \t\t\u003ctestPlanName\u003eYour Test Plan Name\u003c/testPlanName\u003e\n              \t\t        \t\u003cbuildName\u003eYour Build Name in Your Test Plan Name\u003c/buildName\u003e\n                 \t        \t\u003cplatformName\u003eYour Platform Name(Optional)\u003c/platformName\u003e\n              \t\t \t\u003c/configuration\u003e\n                \t\u003c/execution\u003e\n             \t   \u003c/executions\u003e\n            \t\u003c/plugin\u003e\n                ...........Your Other Plugin.......\n              \u003c/plugins\u003e\n``` \nDon't Forget to add our blibli.com Open Source Plugin Repository \n\n```xml\n\u003cpluginRepositories\u003e\n................... Your other plugin Repositories .............\n\u003cpluginRepository\u003e\n    \t\u003csnapshots\u003e\n        \t\u003cenabled\u003efalse\u003c/enabled\u003e\n    \t\u003c/snapshots\u003e\n\t\u003cid\u003ejitpack.io\u003c/id\u003e\n    \t\u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\u003c/pluginRepository\u003e\n```\n\nAdd new user with name and username **automation-test** in your testlink account and makesure it's able to read , write , update and execute any testcase , this user is used for updating the testcase and also for execution the testcase.\n\nAnd Add plugin to generate file called **cucumber.json** in your folder **target/destination/cucumber.json** this in your Cucumber Options\n```java\n@CucumberOptions(features = \"src/test/resources/features/\"\n        , plugin = {\"json:target/destination/cucumber.json\"},\n        tags = {\"\"})\npublic class CucumberRunner {\n}\n```\nAnd Finaly you can define your testsuite in each features files via tags\n```gherkin\n@LookUpFeature \nFeature: LookUp A Definition\n\n  @Positive @Apple @TestSuiteID=12345\n  Scenario: Looking up the definition of 'apple'\n    Given the user is on the Wikionary home page\n    When the user looks up the definition of the word 'apple'\n    Then they should see the definition 'A common, round fruit produced by the tree Malus domestica, cultivated in temperate climates.'\n```\nFor that it will searching testcase with title _Looking up the definition of 'apple'_ in testsuite 12345 , \n- if it's desn't exist , it will create new\n- if it's exist and the steps is same it will just update the status execution (Passed Or Not)\n- if it's exist and the steps is not same , it will create new version for that testcase and update the result as well\n- You can put the tag in the feature tag , so it will inheritence in all scenario inside that feature\n\n```gherkin\n@LookUpFeature @TestSuiteID=12345\nFeature: LookUp A Definition\n\n  @Positive @Apple \n  Scenario: Looking up the definition of 'apple'\n    Given the user is on the Wikionary home page\n    When the user looks up the definition of the word 'apple'\n    Then they should see the definition 'A common, round fruit produced by the tree Malus domestica, cultivated in temperate climates.'\n  @Positive @Pear \n  Scenario: Looking up the definition of 'pear'\n    Given the user is on the Wikionary home page\n    When the user looks up the definition of the word 'pear'\n    Then they should see the definition 'pear is ....'\n``` \n\nOr If you just want to update the execution result without update your scenario you can put tag `@TestlinkID`\n```gherkin\n@LookUpFeature \nFeature: LookUp A Definition\n\n  @Positive @Apple @TestlinkID=BLIBLI-123\n  Scenario: Looking up the definition of 'apple'\n    Given the user is on the Wikionary home page\n    When the user looks up the definition of the word 'apple'\n    Then they should see the definition 'A common, round fruit produced by the tree Malus domestica, cultivated in temperate climates.'\n```\n\nIt will Update Execution ***result only*** without modify your testcase in your testcase with ID **BLIBLI-123**\n\n#### Running Test And Updating Result\n\nUse `mvn clean verify` to update the result into testlink , since it's using maven plugin it will not update result if you run it via junit runner or right click and run test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbliblidotcom%2Fcucumber-serenity-testlink-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbliblidotcom%2Fcucumber-serenity-testlink-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbliblidotcom%2Fcucumber-serenity-testlink-integration/lists"}