Commit Graph

17 Commits

Author SHA1 Message Date
Luke Sampson 887f041fc7 Extract to _tmp instead of _scoop_extract to conserve 10 more characters in path. 2017-05-29 17:59:09 +10:00
Rémy 807fcb0ebd fix tests 2017-03-30 00:42:19 +02:00
Rémy 357b33ddfe persist file support 2017-03-25 16:28:06 +01:00
Rémy 9388c90232 remove travel_dir partial implementation 2017-03-25 16:28:05 +01:00
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
Roy Ivy III 32b26ccae9 whitespace cleanup (for .\test\fixtures)
* change files to be in accordance with .editorconfig
* files in this commit are separate from the initial whitespace commit to check for testing code breakage
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-19 12:02:27 -05:00
Roy Ivy III 6d9bca805f whitespace cleanup
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Simon Hartcher 23a39252aa Fix shim tests failing when shimdir is not in path 2015-04-12 22:44:57 +10:00
Simon Hartcher 49bd9b637d Add tests for shim
Refactored rm_shims into two functions rm_shims and rm_shim
Added tests for shim and rm_shim
Added test for quote in username (#196)
2015-04-12 21:15:50 +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 e8ed3fc2e3 Change setup_working to use %TEMP% 2015-04-12 12:12:14 +10:00
Simon Hartcher 2fa644c6df Remove old tests and fixtures 2015-04-12 12:12:13 +10:00
Simon Hartcher bed692a608 Added movedir test for quotes in username (#196) 2015-04-07 13:44:00 +10:00
Luke Sampson 2a3427bdd7 fix for install where username contains spaces (see #128) 2014-07-16 10:56:37 +10:00
Luke Sampson 26195a626d experimenting with possible solution for #126 where packages aren't accessible after updating an app 2014-07-15 13:44:44 +10:00
Luke Sampson a1ad14c224 tests for unzip with .NET pre-4.5 2014-03-16 10:02:44 +10:00
Luke Sampson 8c20efc6e8 add mini test framework, start testing getopt 2013-09-02 15:03:36 +10:00