Socket
Socket
Sign inDemoInstall

api-pegjs-test

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    api-pegjs-test

A collection of language-agnostic tests in JSON format for parsing HTTP into api-pegjs


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

API PEGjs tests

A collection of language-agnostic tests in JSON format for parsing HTTP into api-pegjs' AST.

Structure

Each specification has its own folder with test suites.

Each ABNF rule in the specification has its own test suite as JSON file.

Each JSON file is an array of test cases.

Each test case is structured as [description, input, result] for positive tests, and just [description, input] for negative tests.

input can be a string or a JSON reference pointing to a local file.

result is an AST.

License

Apache 2.0

Keywords

FAQs

Last updated on 22 Oct 2013

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc