
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
testcafe-reporter-prometheus
Advanced tools
This is the prometheus reporter plugin for TestCafe. It generates a a report as a file that can be collected by prometheus
# HELP test_passed Successfull passed tests
# TYPE test_passed gauge
test_passed{browser="Chrome"} 5
test_passed{browser="Firefox",version="47"} 4
# HELP test_failed Failed Tests
# TYPE test_failed gauge
test_failed{browser="Chrome"} 1
test_failed{browser="Firefox",version="47"} 2
# HELP test_skipped Skipped Tests
# TYPE test_skipped gauge
test_skipped 1
# HELP test_total Total Tests
# TYPE test_total gauge
test_total 6 946684800000
# HELP test_time_duration The time it takes to run the tests in ms
# TYPE test_time_duration gauge
test_time_duration 925000
npm install testcafe-reporter-prometheus
When you run tests from the command line, specify the reporter name by using the --reporter
option:
testcafe chrome 'path/to/test/file.js' --reporter prometheus
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('prometheus', 'prometheus.txt') // <-
.run();
FAQs
prometheus TestCafe reporter plugin.
We found that testcafe-reporter-prometheus demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.