Nefarious Plastic Mannequins

    ci-slack-reporter

    1.0.7-a5 • Public • Published

    Mocha/Cypress reporter to post tests results directly to Slack

    Usable for CI services like Woodpecker

    Read Guide how to Setup with Woodpecker

    Example

    pipeline:
      websitesTest:
        image: cypress/included:10.2.0
        commands:
          - npm install
          - npm install ci-slack-reporter
          - export CI_SLACK_REPORTER_ICON_URL=https://raw.githubusercontent.com/devforth/ci-slack-reporter/master/assets/patron_autotester.png
          - export CI_SLACK_REPORTER_USERNAME="Patron Autotester"
          - export CI_SLACK_REPORTER_VIDEO_URL=https://rp-e2e-test-recordings.s3.eu-central-1.amazonaws.com/output${CI_BUILD_NUMBER}.mp4
          - export CI_SLACK_REPORTER_WEBHOOK=https://hooks.slack.com/services/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
          - cypress run --reporter ci-slack-reporter --spec "cypress/e2e/$${TEST_NAME}.cy.js"
    
    

    Result:

    Install

    npm i ci-slack-reporter

    DownloadsWeekly Downloads

    58

    Version

    1.0.7-a5

    License

    ISC

    Unpacked Size

    232 kB

    Total Files

    5

    Last publish

    Collaborators

    • vanbrosh