
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
A command-line utility that outputs some frequency data about your unit tests. You can save the output to CSV and then pull it in to your favourite graphing program (Excel, Numbers, ...).
It works under the following circumstances:
it to describe your testsexpect to write your expectations(That's not to say it couldn't be expanded to do something else; see the Contributing section below.)
Right now it has two modes:
npx test-freq descriptions
Outputs frequencies of your test description starting verbs. Example:
it("calculates the value", ...)
In this case, the starting verb is calculates.
The tool has special handling for test descriptions starting with should, should not, does not.
npx test-freq matchers
Outputs frequencies of the matchers used. Example:
expect(foo).toEqual(bar);
In this case, the matcher is toEqual.
All contributions are welcome! PRs, issues, etc.
FAQs
Outputs frequencies of test usages in a project
The npm package test-freq receives a total of 1 weekly downloads. As such, test-freq popularity was classified as not popular.
We found that test-freq 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.