open-contracting / standard_extension_template

Use this template to author your OCDS extensions
Apache License 2.0
5 stars 8 forks source link

Adding a script to test extensions #1

Closed timgdavies closed 7 years ago

timgdavies commented 7 years ago

I would love to have a script as part of the standard template which I can use to test my extension against current version of OCDS.

E.g. before pushing it an updated version, I would run the test script which would:

I've been meaning to write this myself, but not got to it yet, so logging here.

kindly commented 7 years ago

Added to this would be testing the patched schema against an example that covers all parts of the core schema and validates. Against the new patched schema this example should also validate.

jpmckinney commented 7 years ago

extension_tester and this repo's .travis.yml file do this now. We can work on improvements to output or workflow in https://github.com/open-contracting/extension_tester and https://github.com/open-contracting/standard-maintenance-scripts