npm

Need private packages and team management tools?Check out npm Orgs. »

api-pegjs-test

0.0.2 • Public • Published

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

none

install

npm i api-pegjs-test

Downloadsweekly downloads

4

version

0.0.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability