Quick Start Guides
processmaker.comKnowledge CenterProcessMaker UniversityDeveloper Docs
ProcessMaker Automated Testing
ProcessMaker Automated Testing
  • ⚙️Automated Process Testing
  • Process Testing Automation
    • 🔵Quality Assurance Framework
    • 🟠Paths and Scenario Definition
    • 🟢Cypress Usage and Configuration
    • 🟣Reports Generation
  • 🗃️Additional Resources
    • NodeJS Documentation
  • E2E Testing
    • First Test with Cypress
    • Testing Apps in Cypress
  • Cypress Documentation
    • Cypress Automation Guide
    • Cypress Installation Guide
    • Open an App with Cypress
Powered by GitBook
On this page
  • Reporting Library Configuration
  • HTML Report Generation
  • Testing Report Template
  • Testing Results Analysis
  1. Process Testing Automation

Reports Generation

Reporting Library Configuration

To set up reporting capabilities, follow these steps:

Step 1: Install Dependencies

Run the following command to install necessary dependencies:

npm install --save-dev mochawesome mochawesome-merge mochawesome-report-generator

Step 2: Create Config File

In your configuration file (cypress.json), define the reporting options:

const { defineConfig } = require('cypress')

module.exports = defineConfig({
  reporter: 'mochawesome',
  reporterOptions: {
    chart: true,
    reportDir: 'cypress/results',
    overwrite: false,
    html: false,
    json: true,
  },
})

HTML Report Generation

Follow these steps to generate HTML reports:

Step 1: Execute Specification File

Run the following command to execute the specification file:

cypress run --reporter mochawesome --reporter-options reportDir="cypress/results",overwrite=false,html=false,json=true

Step 2: Merge Resulting JSON Files

Use the following command to merge resulting JSON files:

npx mochawesome-merge "cypress/results/*.json" > mochawesome.json

Step 3: Generate HTML Report Files

Generate an HTML report file using the following command:

npx marge mochawesome.jsonSte

Testing Report Template

or

Download a testing report template using the link below.

Testing Results Analysis

Perform thorough analysis of testing results to identify insights, trends, and areas for improvement in the testing process.

Last updated 1 year ago

View the testing report template here:

🟣
Testing Report Template
519KB
Testing Report Template.xlsx