pandastrike / jsck

JSON Schema Compiled checK
MIT License
159 stars 14 forks source link

test runner should use CLI flags for specifying attribute and individual test #45

Open automatthew opened 9 years ago

automatthew commented 9 years ago

You can currently exercise limited portions of the official test suite with this sort of invocation:

coffee test/draft4_test.coffee additionalItems 2

Alter to:

coffee test/draft4_test.coffee --attribute ATTR_NAME --test PATTERN
automatthew commented 9 years ago

probably use npm package "optimist"

automatthew commented 9 years ago

Optimist is deprecated. Consider https://github.com/chevex/yargs