Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
buildkite-collector
Advanced tools
Buildkite Test Analytics collectors for JavaScript test frameworks
Official JavaScript-based Buildkite Test Analytics collectors ✨
⚒ Supported test frameworks: Jest, and more coming soon.
📦 Supported CI systems: Buildkite, GitHub Actions, CircleCI, Jenkins, and others via the BUILDKITE_ANALYTICS_*
environment variables.
Create a test suite, and copy the API token that it gives you.
Add the buildkite-collector
package:
# If you use npm:
npm install --save-dev buildkite-collector
# or, if you use yarn:
yarn add --dev buildkite-collector
Update your Jest configuration:
// jest.config.js
// Send results to Test Analytics
reporters: [
'default',
'buildkite-collector/jest/reporter'
],
// Enable column + line capture for Test Analytics
testLocationInResults: true
Run your tests locally:
env BUILDKITE_ANALYTICS_TOKEN=xyz npm test
Add the BUILDKITE_ANALYTICS_TOKEN
secret to your CI, push your changes to a branch, and open a pull request 🎉
git checkout -b add-bk-test-analytics
git commit -am "Add Buildkite Test Analytics"
git push origin add-bk-test-analytics
To enable debugging output, set the BUILDKITE_ANALYTICS_DEBUG_ENABLED
environment variable to true
.
See the GitHub 'enhancement' issues for planned features. Pull requests are always welcome, and we’ll give you feedback and guidance if you choose to contribute 💚
After cloning the repository, install the dependencies:
npm install
And run the tests:
npm test
Useful resources for developing collectors include the Buildkite Test Analytics docs and the RSpec and Minitest collectors.
Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite/collector-javascript
The package is available as open source under the terms of the MIT License.
FAQs
Buildkite Test Analytics collectors for JavaScript test frameworks
The npm package buildkite-collector receives a total of 0 weekly downloads. As such, buildkite-collector popularity was classified as not popular.
We found that buildkite-collector 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.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.