Gathering detailed insights and metrics for @financial-times/n-automation
Gathering detailed insights and metrics for @financial-times/n-automation
Gathering detailed insights and metrics for @financial-times/n-automation
Gathering detailed insights and metrics for @financial-times/n-automation
npm install @financial-times/n-automation
Typescript
Module System
Min. Node Version
Node Version
NPM Version
56.2
Supply Chain
75.3
Quality
78.2
Maintenance
25
Vulnerability
95.8
License
JavaScript (96.11%)
Makefile (3.89%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
13,747
Last Day
27
Last Week
80
Last Month
222
Last Year
787
6 Stars
135 Commits
2 Forks
77 Watchers
11 Branches
28 Contributors
Updated on Jan 28, 2023
Latest Version
2.4.0
Package Id
@financial-times/n-automation@2.4.0
Unpacked Size
448.43 kB
Size
397.84 kB
File Count
10
NPM Version
5.5.1
Node Version
8.9.0
Cumulative downloads
Total Downloads
Last Day
3.8%
27
Compared to previous day
Last Week
48.1%
80
Compared to previous week
Last Month
282.8%
222
Compared to previous month
Last Year
-27.3%
787
Compared to previous year
Run automated regression tests for your app using nightwatch.js and get results on Slack and email.
npm install @financial-times/n-automation
Write a regression
recipe on your Makefile containing the tests you'd like to run, passing the n-automation
reporter to nht nightwatch
:
1REPORTER = ./node_modules/@financial-times/n-automation/build/reporter.js 2 3regression: 4 nht nightwatch -c nightwatch.js path/to/test.js --reporter ${REPORTER} 5 nht nightwatch -c nightwatch.js path/to/anotherTest.js --reporter ${REPORTER} 6 ...
Init n-automation
in an independent file somewhere in your project, for example jobs/run-regression.js
:
1const Automation = require('@financial-times/n-automation'); 2 3Automation.run({ 4 appName: 'Your App Name', 5 nightwatchJson: require('../nightwatch.js') 6});
Only pass in nightwatchJson
if your project has a nightwatch config. If not, send only appName
and n-automation
will default to the n-heroku-tools
nightwatch config file
process.env.SLACK_URL
Slack Incoming Webhook Integration URL for the channel to notifyprocess.env.SLACK_MENTIONS
Slack users to mention on failure (optional)process.env.REGRESSION_RECIPIENTS
email addresses of the people to notify on test failureSchedule your job with something like the Heroku Scheduler. Once a day is recommended.
Full nightwatch output will be sent to the email addresses above whenever a test fails.
See next-signup
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
project is archived
Details
Reason
Found 0/19 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-02-17
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More