Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

testcollab-cypress-plugin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcollab-cypress-plugin

This package publishes your JSON test result file to TestCollab 2

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Test Collab Cypress reporter

This package publishes your JSON test result file to TestCollab 2

Getting started

NODE_ENV environment variable must have any one value - "development" , "staging", "production"

Install using: npm install -g testcollab-cypress-plugin

this will make "uploadTCRunResult" command available for execution

Run following command:

uploadTCRunResult --apiToken=<YOUR API TOKEN>  --projectId=<PROJECT ID>  --companyId=<COMPANY ID>  --testPlanId=<TEST PLAN ID>  --mochaJsonResult=<PATH TO mochawesome json FILE>

Notes: Your JSON file must follow mochawesome format.

In order for this package to map executed test cases with their corresponding Test Collab test cases ID, IDs should be appended to 'title' property of your 'tests' array in JSON as follows:

{
"stats": {
    "suites": 1,
    "tests": 6,
    "passes": 2,
    ...
},
"results": [
    {
    "uuid": "..",
    ...
    "suites": [
        {
        "uuid": "..",
        "title": "Test suite",
        ...
        "tests": [
            {
            "title": "id-1",              <--  We parse ID from this
            "fullTitle": "Sample test",

Download above sample file here

If you are using multiple configurations in your test run, then test plan configuration ID should be specified in similar way in 'suites' array under title property like this:

{
"stats": {
    "suites": 1,
    "tests": 6,
    "passes": 2,
    ...
},
"results": [
    {
    "uuid": "..",
    ...
    "suites": [
        {
        "uuid": "..",
        "title": "TestSuite-1",           <--  Test plan configuration ID
        ...
        "tests": [
            {
            "title": "id-1",              <--  Test Case ID
            "fullTitle": "Sample test",

Download above sample file here

Support

Test Collab website: testcollab.com

FAQs

Package last updated on 02 Dec 2025

Did you know?

Socket

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.

Install

Related posts