Commit Graph

5 Commits

Author SHA1 Message Date
Richard Kuhnt
1feda7a088 [WIP] Validate manifests against JSON Schema in CI Tests (#1331)
* Add suggest and psmodule to schema.json
* Fix required fields in schema.json
* Improve url validation in schema.json
* Add validator.exe as a single file validation tool
* Add Scoop.Validator Lib for use in Manifest-Tests
* Add buildscript for Scoop.Validator and validator.exe
* Exclude .dll and packages folder from Project-Tests
* Validate manifests against JSON Schema in CI Tests
* Complete JSON Schema Validation
* Dlls shouldn't be treated as text
2017-02-17 19:00:56 +01:00
Richard Kuhnt
11d2d07422 Improve manifest validation tests for url and extract_dir
Manifest validation should fail if there are untranslated variables left over in url or extract_dir
2017-02-03 00:36:18 +01:00
Simon Hartcher
bf4e92588c Sanitise path when returning manifest path
Fixes #386
2015-07-24 14:04:38 +10:00
Simon Hartcher
44969bee9d Add test for invalid json file
The test currently expects invalid json to throw. This might not
be the desired outcome.
2015-04-12 15:28:28 +10:00
Simon Hartcher
006c2b0bae Add manifest validation tests
The manifest-validation test iterates through each json in the main
bucket to ensure that required fields (url, version) are not empty
2015-04-12 13:26:27 +10:00