Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
pactum-flow-plugin
Advanced tools
plugin to publish flows, interactions and run contract tests locally
plugin to publish flows, interactions & run contract tests locally
const pf = require('pactum-flow-plugin');
const { reporter } = require('pactum');
// global before block
before(() => {
pf.config.url = '<pactum-flow-server-url>';
pf.config.projectId = '<unique-project-id>';
pf.config.projectName = '<unique-project-name>';
pf.config.version = '<unique-project-version>';
pf.config.username = '<username>';
pf.config.password = '<password>';
reporter.add(pf.reporter);
});
// global after block
after(async () => {
await reporter.end();
});
option | type | description | others |
---|---|---|---|
url | string | pactum flow server url | required (if publish is true ) |
projectId | string | unique project id | required (if publish is true ) |
projectName | string | unique project name | required (if publish is true ) |
version | string | unique project version | required (if publish is true ) |
token | string | auth token | required (if publish is true ) |
username | string | scanner username | required (if token is empty ) |
password | string | scanner password | required (if token is empty ) |
batchSize | number | pactum flow server url | defaults to 10 |
publish | boolean | enable publishing contracts | defaults to true |
dir | boolean | save contracts in fs | defaults to false |
dir | string | save contracts in custom path | defaults to .pactum/contracts/ |
checkQualityGate | boolean | check quality gate | defaults to false |
checkQualityGateLocal | boolean | check quality gate locally without publishing | defaults to false |
checkQualityGateTimeout | number | check quality gate timeout | defaults to 10000 ms |
checkQualityGateEnvironments | string | check quality gate against the given envs | defaults to all envs |
checkQualityGateDefaultDelay | number | default delay to wait for processing analysis | defaults to 2000 ms |
jUnitReporter | boolean | enable jUnit reporter | defaults to false |
jUnitReporterPath | string | junit reporter path | defaults to contract-tests |
FAQs
plugin to publish flows, interactions and run contract tests locally
The npm package pactum-flow-plugin receives a total of 371 weekly downloads. As such, pactum-flow-plugin popularity was classified as not popular.
We found that pactum-flow-plugin 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.