
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
fuzzy-testing
Advanced tools
Fuzz testing tools for node.
Because javascript is a loosely typed language, it is difficult to prepare for all the different possible types that a function might receive. In order to better build stable javascript applications, fuzzy-testing is a tool that will try many possible combinations of data types within arguments.
To install to your local project, simply run:
npm install fuzzy-testing
then, call one of the fuzzFunctions from within your testing code. If you're using jest, you can do something like this:
import { fuzzFunction } from 'fuzzy-testing';
expect(fuzzFunction(onlyBools, { maxArgs: 1 })).toEqual([]);
fuzzFunction
is a function that takes a function and an object specifying it's options.
Fuzzy testing also allows you to fuzz the render method of react component via fuzzReactComponent
.
FAQs
Javascript fuzz testing tools
The npm package fuzzy-testing receives a total of 72 weekly downloads. As such, fuzzy-testing popularity was classified as not popular.
We found that fuzzy-testing 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
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.