
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
snaptest-cli
Advanced tools
SnapTest's cli tool to generate a test code folder. Digests SnapTest JSON and outputs a folder of tests that can be run in a variety of languages/frameworks.
npm install -g snaptest-cli
nightwatch: Generates code in the popular nightwatchJS framework (V1 & V2). generator repository, project harnessnightwatch-v3: Generates code in the nightwatchJS v3 framework. generator repositorycsharp Generates code in C#. generator repository (No longer maintained)
nunit project scaffold/harnessxunit project scaffold/harnessEach generator is accompanied by a project harness repository that will help you get setup with configuring/running your tests.
Want another language/framework generator? Let us know in the github issues section here.
-i <path to test JSON file> flag.From the SnapTest extensions dashboard, find the "code" icon/button next to the corresponding test folder. Follow the on-screen commands to copy a command into your terminal which will generate the folder and tests with your specifications.
These are most easily obtained by clicking on the "generate code" icons above tests or folders and copying/pasting the generated command.
-f <folderId> - Generates only the specified folder.-o <test folder name> - Lets you name the test folder whatever you'd like. It defaults to snaptests.-r <nightwatch|nightwatch-v3> - Generates tests in any of the offical frameworks.-i <path to test JSON file> - Specify a path to a local json file that you have exported via the SnapTest extension.-c <path to custom generator index.js> - Specify a path to the index.js file of your custom generator. for more information, see custom generator docs.These are only required if you're utilizing the SnapTest cloud. Not required if you're generating from a local .json tests file.
These are most easily obtained by clicking on the "generate code" icons above tests or folders.
-t <access token> - Used to access your resources on the SnapTest Cloud. Not required if you're generating from a local .json file.-a <account type> - Specify the type of account you're accessing. Can be user, org, or project-a <account id> - Specify the id of the account.FAQs
A command line tool for the SnapTest chrome extension
We found that snaptest-cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.