
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
xunit2testrail
Advanced tools
.. image:: https://travis-ci.org/gdyuldin/testrail_reporter.svg?branch=master :target: https://travis-ci.org/gdyuldin/testrail_reporter
.. image:: https://codecov.io/gh/gdyuldin/testrail_reporter/branch/master/graph/badge.svg :target: https://codecov.io/gh/gdyuldin/testrail_reporter
This reporter helps to send xUnit XML report from automated tests to TestRail.
For correct reporting, reporter makes indentifications strings for
all xUnit and TestRail cases. Identification strings are makes by
templates - one for xUnit and one for TestRail Case. Templates are just
Format Strings <https://docs.python.org/2/library/string.html#format-string-syntax>__.
Next reporter searchs xUnit testcase indentification string in all
TestRail cases indentifications strings.
xUnit template variables ''''''''''''''''''''''''
tempest.api.network.test_routers.RoutersIpV6Test)test_update_router_admin_state[id-a8902683-c788-4246-95c7-ad9c6d63a4d9])methodname, e.g. for test_a[(12345)] it
will be 12345)methodname, e.g. for
test_quotas[network,id-2390f766-836d-40ef-9aeb-e810d78207fb,network]
it will be 2390f766-836d-40ef-9aeb-e810d78207fb)Argument name: --xunit-name-template
Default value: {id}
xUnit template may looks like '{classname}.{methodname}' or just
'{id}'.
TestRail template variables '''''''''''''''''''''''''''
Argument name: --testrail-name-template
Default value: {custom_report_label}
Also possible to use other variables (full list here - TestRail Api Documentation <http://docs.gurock.com/testrail-api2/reference-cases#get_case>__)
TestRail template may looks like '{custom_report_label}' or
'{custom_test_group}.{title}'.
Collisions
If one xUnit case matches to more than one TestRail case or one TestRail
case matches to more than one xUnit case - reporter stops work, print
out this cases and exits with error.
Usage
-----
::
usage: report [-h] [--xunit-name-template XUNIT_NAME_TEMPLATE]
[--testrail-name-template TESTRAIL_NAME_TEMPLATE]
[--env-description ENV_DESCRIPTION]
(--iso-id ISO_ID | --testrail-plan-name TESTRAIL_PLAN_NAME)
[--test-results-link TEST_RESULTS_LINK]
[--testrail-url TESTRAIL_URL] [--testrail-user TESTRAIL_USER]
[--testrail-password TESTRAIL_PASSWORD]
[--testrail-project TESTRAIL_PROJECT]
[--testrail-milestone TESTRAIL_MILESTONE]
[--testrail-suite TESTRAIL_SUITE] [--send-skipped]
[--paste-url PASTE_URL] [--verbose]
xunit_report
Report to testrail
positional arguments:
xunit_report xUnit report XML file
optional arguments:
-h, --help show this help message and exit
--xunit-name-template XUNIT_NAME_TEMPLATE
template for xUnit cases to make id string
--testrail-name-template TESTRAIL_NAME_TEMPLATE
template for TestRail cases to make id string
--env-description ENV_DESCRIPTION
env deploy type description (for TestRun name)
--iso-id ISO_ID id of build Fuel iso (DEPRECATED)
--testrail-plan-name TESTRAIL_PLAN_NAME
name of test plan to be displayed in testrail
--test-results-link TEST_RESULTS_LINK
link to test job results
--testrail-url TESTRAIL_URL
base url of testrail
--testrail-user TESTRAIL_USER
testrail user
--testrail-password TESTRAIL_PASSWORD
testrail password
--testrail-project TESTRAIL_PROJECT
testrail project name
--testrail-milestone TESTRAIL_MILESTONE
testrail project milestone
--testrail-suite TESTRAIL_SUITE
testrail project suite name
--send-skipped send skipped cases to testrail
--paste-url PASTE_URL
paste service to send test case logs and trace
--verbose, -v Verbose mode
FAQs
Report test results from xUnit xml file to TestRail
We found that xunit2testrail demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.