Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
gavel-spec
Advanced tools
Gavel detects important differences between actual and expected HTTP transactions (HTTP request and response pairs). Gavel also decides whether the actual HTTP transaction is valid or not.
gavel-spec
This repository contains implementation-independent behavior specification of Gavel. It's written in Gherkin, language used by Cucumber. Two main benefits are:
Examples are made in raw HTTP to focus on implementation independence.
To use the specification in your project and test against it, install it as npm package (or include as a git submodule):
$ npm install gavel-spec
...
$ find ./node_modules/gavel-spec/features/**/*.feature
./node_modules/gavel-spec/features/expectations/body_json_example.feature
./node_modules/gavel-spec/features/expectations/body_text_example.feature
./node_modules/gavel-spec/features/expectations/headers.feature
./node_modules/gavel-spec/features/expectations/status_code.feature
...
It's also possible to get path to the directory with features from JavaScript:
var featuresPath = require('gavel-spec').featuresPath;
console.log(featuresPath); // prints '/.../node_modules/gavel-spec/features/'
Use Cucumber for testing.
Currently publishing of a new version of the generated documentation is done manually:
gem install relish
relish versions:add apiary/gavel:1.1.0
(the 1.1.0
should be the same number which appears on npm as the latest package version)relish push apiary/gavel:1.1.0 path ./features/
Steps 2-3 has been simplified as npm run docs:publish
command.
FAQs
Behavior specification for Gavel, validator of HTTP transactions
The npm package gavel-spec receives a total of 16 weekly downloads. As such, gavel-spec popularity was classified as not popular.
We found that gavel-spec demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.