{"id":26482003,"url":"https://github.com/kiwitcms/junit-plugin","last_synced_at":"2025-03-20T03:36:38.242Z","repository":{"id":33270077,"uuid":"157344918","full_name":"kiwitcms/junit-plugin","owner":"kiwitcms","description":"JUnit plugin for Kiwi TCMS","archived":false,"fork":false,"pushed_at":"2024-10-09T18:55:14.000Z","size":192,"stargazers_count":4,"open_issues_count":29,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-30T05:42:01.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kiwitcms.org","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiwitcms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://kiwitcms.org/#subscriptions"],"github":["kiwitcms"],"patreon":null,"open_collective":"kiwitcms","ko_fi":null,"tidelift":"pypi/kiwitcms","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null}},"created_at":"2018-11-13T08:20:57.000Z","updated_at":"2024-10-09T18:55:19.000Z","dependencies_parsed_at":"2023-11-13T02:25:02.529Z","dependency_job_id":"d3bd3d50-bc9a-4962-884e-569022b8272b","html_url":"https://github.com/kiwitcms/junit-plugin","commit_stats":{"total_commits":273,"total_committers":10,"mean_commits":27.3,"dds":0.641025641025641,"last_synced_commit":"d337f5f94cf9c0aa0cc8e430bc4807ef4152aba0"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwitcms%2Fjunit-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwitcms%2Fjunit-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwitcms%2Fjunit-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwitcms%2Fjunit-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiwitcms","download_url":"https://codeload.github.com/kiwitcms/junit-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244545534,"owners_count":20469879,"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":[],"created_at":"2025-03-20T03:36:37.457Z","updated_at":"2025-03-20T03:36:38.224Z","avatar_url":"https://github.com/kiwitcms.png","language":"Java","funding_links":["https://kiwitcms.org/#subscriptions","https://github.com/sponsors/kiwitcms","https://opencollective.com/kiwitcms","https://tidelift.com/funding/github/pypi/kiwitcms","https://tidelift.com/badges/package/pypi/kiwitcms","https://tidelift.com/subscription/pkg/pypi-kiwitcms?utm_source=pypi-kiwitcms\u0026utm_medium=github\u0026utm_campaign=junit-plugin"],"categories":[],"sub_categories":[],"readme":"JUnit 5 plugin for Kiwi TCMS\n----------------------------\n\n[![Build Status](https://travis-ci.org/kiwitcms/junit-plugin.svg?branch=master)](https://travis-ci.org/kiwitcms/junit-plugin)\n[![Coverage Status](https://codecov.io/gh/kiwitcms/junit-plugin/branch/master/graph/badge.svg?token=2BCuQxHh2J)](https://codecov.io/gh/kiwitcms/junit-plugin)\n[![TP for kiwitcms/junit-plugin (master)](https://img.shields.io/badge/kiwi%20tcms-results-9ab451.svg)](https://tcms.kiwitcms.org/plan/25/)\n[![Maven Central](https://img.shields.io/maven-central/v/org.kiwitcms.java/kiwitcms-junit-plugin.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.kiwitcms.java%22%20AND%20a:%22kiwitcms-junit-plugin%22)\n[![Tidelift](https://tidelift.com/badges/package/pypi/kiwitcms)](https://tidelift.com/subscription/pkg/pypi-kiwitcms?utm_source=pypi-kiwitcms\u0026utm_medium=github\u0026utm_campaign=junit-plugin)\n[![Become-a-sponsor](https://opencollective.com/kiwitcms/tiers/sponsor/badge.svg?label=sponsors\u0026color=brightgreen)](https://opencollective.com/kiwitcms#contributors)\n[![Twitter](https://img.shields.io/twitter/follow/KiwiTCMS.svg)](https://twitter.com/KiwiTCMS)\n\n## Installation \u0026 usage\n\nAdd this into your `pom.xml`:\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.kiwitcms.java\u003c/groupId\u003e\n        \u003cartifactId\u003ekiwitcms-junit-plugin\u003c/artifactId\u003e\n        \u003cversion\u003ex.y.z\u003c/version\u003e\n    \u003c/dependency\u003e\n\n\nThis plugin extends `org.junit.jupiter.api.extension.Extension` and has\n`junit.jupiter.extensions.autodetection.enabled=true` configured by default in\n`pom.xml`. This means Jupiter will pick it up automatically.\n\nYou may alternatively decorate your test suite with the `KiwiTcmsExtension` class\nbut that should be redundant:\n\n    import org.junit.jupiter.api.Test;\n    import static org.hamcrest.MatcherAssert.assertThat;\n\n    import org.junit.jupiter.api.extension.ExtendWith;\n    import org.kiwitcms.java.junit.KiwiTcmsExtension;\n\n    @ExtendWith(KiwiTcmsExtension.class)\n    public class KiwiJsonRpcClientTest {\n        @Test\n        public void yourTest(){\n            assertThat(...);\n        }\n    }\n\n\n## Configuration and environment\n\nMinimal config file `~/.tcms.conf`:\n\n    [tcms]\n    url = https://tcms.server/xml-rpc/\n    username = your-username\n    password = your-password\n\nYou can override the default file location by adding the Maven option ```tcmsConfigPath```\nfollowed by the full path to a config file. For example:\n```-DtcmsConfigPath=D:\\Path\\To\\tcms.conf```\n\nFor more info see [tcms-api docs](https://tcms-api.readthedocs.io).\n\nThis plugin is only concerned with parsing the JUnit test results and reporting\nthem to the backend. Behavior is controlled via environment variables.\n\nFor example this is how our own environment looks like::\n\n    #!/bin/bash\n\n    if [ \"$TRAVIS_EVENT_TYPE\" == \"push\" ]; then\n        # same as $TRAVIS_TAG when building tags\n        export TCMS_PRODUCT_VERSION=$TRAVIS_BRANCH\n    fi\n\n    if [ \"$TRAVIS_EVENT_TYPE\" == \"pull_request\" ]; then\n        export TCMS_PRODUCT_VERSION=\"PR-$TRAVIS_PULL_REQUEST\"\n    fi\n\n    export TCMS_BUILD=\"$TRAVIS_BUILD_NUMBER-$(echo $TRAVIS_COMMIT | cut -c1-7)\"\n\nFor a more detailed example see:\nhttp://kiwitcms.org/blog/atodorov/2019/02/22/how-to-use-kiwi-tcms-plugins-pt-1/\n\n\n## Changelog\n\nFiles signed with EC1CEB7CDFA79FB5, Kiwi TCMS \u0026lt;info@kiwitcms.org\u0026gt;\n\n### 12.5 (14 Jul 2023)\n\n- Add override parameter to config path (Marcin Lewandowski)\n- Upgrade jackson-core from 2.13.3 to 2.15.2\n- Upgrade jackson-databind from 2.13.4.2 to 2.15.2\n- Upgrade junit-jupiter-api from 5.8.2 to 5.9.3\n- Upgrade junit-jupiter-engine from 5.8.2 to 5.9.3\n- Upgrade junit-platform-launcher from 1.8.2 to 1.9.3\n- Upgrade maven-checkstyle-plugin from 3.1.2 to 3.3.0\n- Upgrade maven-compiler-plugin from 3.10.1 to 3.11.0\n- Upgrade maven-javadoc-plugin from 3.4.0 to 3.5.0\n- Upgrade maven-surefire-plugin from 3.0.0-M7 to 3.1.2\n- Upgrade mockito-core from 4.6.1 to 4.11.0\n\n### 11.1 (14 Jul 2022)\n\n- Don't hard-code test execution statuses, fetch them from API\n- Update dependencies to latest versions\n- Add pre-commit CI config\n\n### 11.0 (13 Dec 2021)\n\n- GPG key used to sign this package changed from `C0C5FF36` to `EC1CEB7CDFA79FB5`\n- Forward compatibility with upcoming Kiwi TCMS v11.0\n- Remove non-existing field `default_product_version` from API call\n- Remove `TestRun.product_version` field\n- Bump jackson-core from 2.12.1 to 2.13.0\n- Bump jackson-databind from 2.12.0 to 2.13.0\n- Bump jacoco-maven-plugin from 0.8.6 to 0.8.7\n- Bump jsonrpc2-client from 1.16.4 to 1.16.5\n- Bump junit-jupiter-api from 5.5.2 to 5.8.2\n- Bump junit-jupiter-engine from 5.5.2 to 5.8.2\n- Bump junit-platform-launcher from 1.5.2 to 1.8.2\n- Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2\n- Bump maven-gpg-plugin from 1.6 to 3.0.1\n- Bump maven-javadoc-plugin from 3.2.0 to 3.3.1\n- Bump mockito-core from 3.7.0 to 4.1.0\n\n\n### 10.0 (02 Mar 2021)\n\nThis version works only with Kiwi TCMS v10.0 or later!\n\n- Upgrade jackson-databind from 2.10.0 to 2.12.0\n\n\n### 9.0 (15 Jan 2021)\n\nThis version works only with Kiwi TCMS v9.0 or later!\n\n- Bump maven-checkstyle-plugin from 3.1.0 to 3.1.1\n- Bump commons-configuration2 from 2.6 to 2.7\n- Bump maven-javadoc-plugin from 3.1.1 to 3.2.0\n- Bump mockito-core from 3.2.4 to 3.3.3\n- Bump jackson-databind from 2.9.10.1 to 2.10.0\n- Bump maven-surefire-plugin from 3.0.0-M4 to 3.0.0-M5\n- Bump jacoco-maven-plugin from 0.8.5 to 0.8.6\n- Bump mockito-core from 3.2.4 to 3.7.0\n- Bump jackson-core from 2.10.2 to 2.12.1\n- Remove unused method\n\n\n### 8.0 (09 Feb 2020)\n\nThis version works only with Kiwi TCMS v8.0 or later!\n\n- Adjust field names for API changes coming in Kiwi TCMS v8.0\n- Do not use deprecated `product` field when calling `TestCase.create()` API\n- Bug-fix: take into account `TCMS_RUN_ID` environment variable\n- Bump jackson-core from 2.10.0 to 2.10.2\n- Bump maven-source-plugin from 3.2.0 to 3.2.1\n- Bump maven-surefire-plugin from 3.0.0-M3 to 3.0.0-M4\n- Bump mockito-core from 3.1.0 to 3.2.4\n\n\n### 6.7.5 (10 Nov 2019)\n\nFixes moderate severity issue\n[CVE-2019-16942](https://github.com/advisories/GHSA-mx7p-6679-8g3q),\ncritical severity issue\n[CVE-2019-16335](https://github.com/advisories/GHSA-85cw-hj65-qqv9)\nand critical severity issue\n[CVE-2019-14540](https://github.com/advisories/GHSA-h822-r4r5-v8jg).\n\n- Bump commons-beanutils from 1.9.3 to 1.9.4\n- Bump jackson-core from 2.9.9 to 2.10.0\n- Bump jackson-databind from 2.9.9 to 2.9.10.1\n- Bump jacoco-maven-plugin from 0.8.4 to 0.8.5\n- Bump junit-jupiter-api from 5.5.0 to 5.5.2\n- Bump junit-jupiter-engine from 5.5.0 to 5.5.2\n- Bump junit-platform-launcher from 1.5.0 to 1.5.2\n- Bump hamcrest from 2.1 to 2.2\n- Bump maven-javadoc-plugin from 3.1.0 to 3.1.1\n- Bump maven-source-plugin from 3.1.0 to 3.2.0\n- Bump mockito-core from 2.28.2 to 3.1.0\n\n\n### 6.7.4 (06 July 2019)\n\n- Bump junit-jupiter-api from 5.5.0-M1 to 5.5.0\n- Bump junit-jupiter-engine from 5.5.0-M1 to 5.5.0\n- Bump junit-platform-launcher from 1.4.2 to 1.5.0\n\n\n### 6.7.3 (30 May 2019)\n\nFixes moderate severity issue\n[CVE-2019-12086](https://nvd.nist.gov/vuln/detail/CVE-2019-12086)\n\n- Test and build with openjdk8\n- Bump jacoco-maven-plugin from 0.8.3 to 0.8.4\n- Bump maven-compiler-plugin from 3.8.0 to 3.8.1\n- Bump maven-source-plugin from 3.0.1 to 3.1.0\n- Bump maven-checkstyle-plugin from 3.0.0 to 3.1.0\n- Bump commons-configuration2 from 2.4 to 2.5\n- Bump mockito-core from 2.27.0 to 2.28.2\n- Bump jackson-core from 2.9.8 to 2.9.9\n- Bump jackson-databind from 2.9.8 to 2.9.9\n\n\n### 6.7.2 (01 May 2019)\n\n- Don't create duplicate TestCases. Fixes\n  [Issue #50](https://github.com/kiwitcms/junit-plugin/issues/50)\n- Still Beta quality\n\n### 6.7.1 (15 April 2019)\n\n- Don't create 2 test runs (Aneta Petkova). Fixes\n  [Issue #41](https://github.com/kiwitcms/junit-plugin/issues/41)\n- Still Beta quality\n\n### 6.7.0 (10 April 2019)\n\n- Compatible with Kiwi TCMS v6.7 or newer. Fixes\n  [Issue #42](https://github.com/kiwitcms/junit-plugin/issues/42)\n- Version string updated to reflect minimum server version\n- Still Beta quality\n\n### 1.0.3 (21 March 2019)\n\n- Initial release. Beta quality!\n\n\n## Hacking\n\nYou need your `~/.m2/settings.xml` to look something like this\n\n    \u003csettings\u003e\n      \u003cservers\u003e\n        \u003cserver\u003e\n          \u003cid\u003eossrh\u003c/id\u003e\n          \u003cusername\u003ekiwitcms-bot\u003c/username\u003e\n          \u003cpassword\u003e***\u003c/password\u003e\n        \u003c/server\u003e\n      \u003c/servers\u003e\n\n      \u003cprofiles\u003e\n        \u003cprofile\u003e\n          \u003cid\u003eossrh\u003c/id\u003e\n          \u003cactivation\u003e\n            \u003cactiveByDefault\u003etrue\u003c/activeByDefault\u003e\n          \u003c/activation\u003e\n          \u003cproperties\u003e\n            \u003cgpg.executable\u003egpg2\u003c/gpg.executable\u003e\n            \u003cgpg.keyname\u003eEC1CEB7CDFA79FB5\u003c/gpg.keyname\u003e\n          \u003c/properties\u003e\n        \u003c/profile\u003e\n      \u003c/profiles\u003e\n    \u003c/settings\u003e\n\nTo push a new release/SNAPSHOT update the version string in `pom.xml` and do\n\n    export GPG_TTY=$(tty)\n    mvn clean deploy -P release\n\nNOTE: try `ssh -X` if Maven fails to start GnuPG. It needs to ask for a password\nwhich needs a terminal or X!\n\nWARNING: consider setting `junit.jupiter.extensions.autodetection.enabled=false`\nim `pom.xml` if you are having problems building locally!\n\nYou will need Maven \u003e= 3.3.9 which on RHEL/CentOS system can be obtained via\nSoftwareCollections:\n\n    scl enable rh-maven36 /bin/bash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwitcms%2Fjunit-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiwitcms%2Fjunit-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwitcms%2Fjunit-plugin/lists"}