
Product
Introducing PHP and Composer Support in Socket
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.
@saasquatch/program-test-suite
Advanced tools
This package contains everything needed to facilitate blackbox unit testing of the SaaSquatch programs. It includes a family of default Cucumber step definitions and tools for simulated execution of the programs.
npm install -D @saasquatch/program-test-suite
The program test suite is based on Jest. Place the following inside your Jest config:
import { jestConfig } from "@saasquatch/program-test-suite";
export default jestConfig;
Use the runProgramTests function to execute the tests. Here is an example of a typical
test program:
// Import your program from the source code. This is a `types.rpc.Program` that you would
// pass to program-boilerplate
import { program } from "../src/program";
import { runProgramTests } from "@saasquatch/program-test-suite";
// Any additional custom steps you need for this particular program
import steps from "./steps";
runProgramTests(
program,
// Path to the .feature files containing the unit test steps
"__tests__/features/unit",
steps,
// Path to the program schema
"src/schema/birthday-program_schema.json",
// Default program template and program rules to use while testing
"__tests__/defaults/template.json",
"__tests__/defaults/rules.json"
);
FAQs
A collection of utilities for creating program unit tests
The npm package @saasquatch/program-test-suite receives a total of 61 weekly downloads. As such, @saasquatch/program-test-suite popularity was classified as not popular.
We found that @saasquatch/program-test-suite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers 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.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.