openbadges-validator-service/test
oren 371014d120 Update views.test.js 2016-04-06 15:02:23 -07:00
..
acceptance Use node_modules phantomjs 2013-12-18 15:45:33 -05:00
README.md Comment cleanup, variable clarification, and readable README numbering 2013-08-01 18:15:00 -04:00
app.test.js Allow NO_JS to be set as app config 2013-09-06 17:44:29 -04:00
examples.test.js Adding 0.5.0 assertion, making 1.0.0 assertion issuedon static, and including a basic smoke testing script 2013-07-31 15:11:21 -04:00
utils.js Remove unnecessary test util method 2013-08-19 14:45:34 -04:00
views.test.js Update views.test.js 2016-04-06 15:02:23 -07:00
website.test.js Fix broken CORS test 2013-09-06 18:21:46 -04:00

README.md

openbadges-validator-service tests

Latest Travis Build

Build Status

Manual Smoke Testing

Wherever the validator service has been deployed,

  1. copy the contents of /oldassertion.valid.json and paste into the validator
  2. check that the validator reports Valid and Spec Version: 0.5.0
  3. copy the contents of /assertion.valid.json and paste into the validator
  4. check that the validator reports Valid and Spec Version: 1.0.0
  5. copy the contents of /signature.valid and paste into the validator
  6. check that the validator reports Valid and Spec Version: 1.0.0
  7. paste { "foo": "bar" } into the validator
  8. check that the validator reports Invalid with a reason
  9. paste foo into the validator
  10. check that the validator reports Invalid and Reason: not a valid signed badge