{"id":18985569,"url":"https://github.com/gematik/cucumber-test-combinations-maven-plugin","last_synced_at":"2025-04-19T20:34:24.713Z","repository":{"id":65507999,"uuid":"568960645","full_name":"gematik/cucumber-test-combinations-maven-plugin","owner":"gematik","description":"This plugin fills empty examples tables in cucumber feature files with combinations of predefined values. The generated combinations can be configured by various filters.","archived":false,"fork":false,"pushed_at":"2025-02-05T12:05:45.000Z","size":411,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T13:05:23.955Z","etag":null,"topics":["other","testing-tools","tim"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gematik.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-21T19:31:36.000Z","updated_at":"2025-02-05T12:05:42.000Z","dependencies_parsed_at":"2023-02-09T12:01:31.136Z","dependency_job_id":"2a69ba03-7b96-425d-ac61-7a1ad7495296","html_url":"https://github.com/gematik/cucumber-test-combinations-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gematik%2Fcucumber-test-combinations-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gematik%2Fcucumber-test-combinations-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gematik%2Fcucumber-test-combinations-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gematik%2Fcucumber-test-combinations-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gematik","download_url":"https://codeload.github.com/gematik/cucumber-test-combinations-maven-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249250818,"owners_count":21237961,"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":["other","testing-tools","tim"],"created_at":"2024-11-08T16:27:14.448Z","updated_at":"2025-04-16T14:32:20.125Z","avatar_url":"https://github.com/gematik.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":":doctype: book\n:toc:\n:toclevels: 1\n:source-highlighter: rouge\nimage::doc/images/Gematik_Logo_Flag.png[logo,width=200,height=37,role=right]\n= Cucumber-Test-Combinations-Maven-Plugin\n\n== About The Project\nThe Cucumber-Test-Combinations-Maven-Plugin or CuTest-Combinations-Plugin fills empty examples tables in cucumber feature files with combinations of predefined values. The generated combinations can be configured by various filters.\n\nimage::doc/images/plugin.png[]\n\n=== Release Notes\nSee link:ReleaseNotes.md[ReleaseNotes] for all information regarding the (newest) releases.\n\n== Usage\nAdd the following to you `pom.xml` and configure the plugin as you need:\n\n[source,xml]\n----\n\u003cplugin\u003e\ninclude::pom.xml[tag=maven-coordinates]\n\u003c/plugin\u003e\n----\n\nTo use the plugin you have to do two things:\n\n1. provide \"combine items\" (the values which will be filled in the empty tables) as JSON file with this structure:\n+\n[source,json]\n----\n[ \u003c1\u003e\n  {\n    \"value\": \"myValue\", \u003c2\u003e\n    \"tags\": [\"myTag\"], \u003c3\u003e\n    \"properties\": { \u003c4\u003e\n        \"myProp\": \"A\"\n    }\n  }\n]\n----\n\u003c1\u003e The file contains a list of items. You can declare as many items as you want.\n\u003c2\u003e Each item needs a value. This value will be later inserted in the tables.\n\u003c3\u003e Items can have tags. Tags are just Strings associated with an item and can be used by filters\nto manipulate the combination generation.\n\u003c4\u003e Items can have properties. Properties are key-value pairs associated with an item and can be used by filters\nto manipulate the combination generation.\n\n2. configure the empty tables in your feature files with  tags that represent your constraints\n+\n[source,gherkin]\n----\nFeature:  example feature\n Scenario Outline:\n  When you do something with \u003ccolumn_1\u003e and \u003ccolumn_2\u003e\n  Then something happens\n\n    @Filter(column_1.hasTag(\"myTag\")) \u003c1\u003e\n    @Filter(column_1.properties[\"myProp\"].equals(column_2.properties[\"myProp\"])) \u003c2\u003e\n    Examples:\n      | column_1 | column_2 | \u003c3\u003e\n----\n\u003c1\u003e The plugin will only use values with the tag `myTag` to fill the column_1.\n\u003c2\u003e The plugin will only generate combinations for this table where the values in column_1 and column_2 have the same property `myProp`\n\u003c3\u003e An empty examples table with header names. You can access the table columns in the filter tags over their header names.\n\nFor in-depth documentation of the configuration, please refer to link:doc/userguide/GettingStarted.adoc[GettingStarted].\n\n== Contributing\nIf you want to contribute, please check our link:CONTRIBUTING.md[CONTRIBUTING.md].\n\n== License\n\nCopyright 2023 gematik GmbH\n\nLicensed under the *Apache License, Version 2.0* (the \"License\"); you may not use this file except in compliance with the License.\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the link:./LICENSE[LICENSE] for the specif ic language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgematik%2Fcucumber-test-combinations-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgematik%2Fcucumber-test-combinations-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgematik%2Fcucumber-test-combinations-maven-plugin/lists"}