1.0.16 • Published 3 years ago

ci-slack-reporter v1.0.16

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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://<bucket name>.s3.eu-central-1.amazonaws.com/output${CI_BUILD_NUMBER}.mp4
      - export CI_SLACK_REPORTER_WEBHOOK=https://hooks.slack.com/services<your slack webhook>
      - cypress run --reporter ci-slack-reporter --spec "cypress/e2e/$${TEST_NAME}.cy.js"

Result:

npm.io

1.0.16

3 years ago

1.0.9-a6

3 years ago

1.0.9-a7

3 years ago

1.0.9-a8

3 years ago

1.0.9-a2

3 years ago

1.0.9-a3

3 years ago

1.0.9-a4

3 years ago

1.0.9-a5

3 years ago

1.0.9-a1

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7-a5

3 years ago

1.0.7-a4

3 years ago

1.0.7-a3

3 years ago

1.0.7-a2

3 years ago

1.0.7-a1

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago