2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-05 12:57:52 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Jia Hao
34a5a52a28 Rename 'pngToIcns to convertToIcns' 2016-03-10 15:50:45 +08:00
Jia Hao
c8e650d061 Increase timeout for test case 2016-01-29 14:46:31 +08:00
Jia Hao
ce8e762ac9 Put files in separate directories 2016-01-29 14:09:36 +08:00
Jia Hao
bf2d5a2929 Cleanup 2016-01-29 13:39:31 +08:00
Jia Hao
a9c294b4b6 Fix wrong parameter for test options 2016-01-29 13:34:53 +08:00
Jia Hao
51acbaaa9c Cleanup options.js, rename --app-name to --name 2016-01-29 11:37:54 +08:00
Jia Hao
c852dc088f Use longer timeout for tests 2016-01-28 23:58:25 +08:00
Jia Hao
30fd51fc85 Fix test for non darwin platforms 2016-01-28 23:10:15 +08:00
Jia Hao
d6f6bfdfbf Cleanup and skip png conversion test if not OSX 2016-01-28 22:43:43 +08:00
Jia Hao
e0bee65cfc Fix problem with async each and creation of temporary directories 2016-01-28 22:39:13 +08:00
Jia Hao
1174cbc28c Cleanup 2016-01-28 11:47:40 +08:00
Jia Hao
5475c6e968 Add build step to infer and convert pngs to icns 2016-01-28 10:00:28 +08:00
Jia Hao
d38912ab36 Disable test for app name check after sanitizing app name on linux 2016-01-27 10:24:24 +08:00
Jia Hao
dbd660b78f Add script to convert png to icns on osx 2016-01-27 10:22:22 +08:00
Jia Hao
68a5f46798 Make main test try multiple platforms 2016-01-25 01:31:11 +08:00
Jia Hao
0fece8dfb7 Add globals for mocha linting and fix code style errors 2016-01-25 01:14:25 +08:00
Jia Hao
cb07b13cad Add mocha basic test to check if nativefier.json is set properly 2016-01-25 01:10:28 +08:00
Jia Hao
5379740dda Initial commit for working module only with api change 2016-01-18 21:45:18 +08:00
Kenneth G. Franqueiro
a360f6c2ee Add more comprehensive tests
This implements the following cases:

* Basic runs for a specific version/platform/arch with default options
  (testing for existence of expected output files/folders)
* Runs for each target platform with `out` set
* Runs for each target platform with `asar` set
* Runs for each target platform with `prune` set
* Runs for each target platform with `ignore` set
  * This includes testing `ignore` including a path separator
  * This also includes testing that `ignore` entries are applied
    with the app folder trimmed
* Runs for each target platform with `overwrite` set / not set
* Runs with `all` set, with `arch` or `platform` each set to `all`,
  and with `platform` set to multiple platforms (comma-delimited or
  array)
* Tests specifically for the darwin target platform, to test
  `icon` and `sign`

The test logic is organized such that the version of Electron being
tested can be configured once centrally (in config.json), and the tests
will not run until after downloading any necessary electron versions
(to avoid timing out due to long downloads).

Resolves #77.
2015-06-28 16:57:59 -04:00
Max Ogden
2d128d8e99 fix testapp 2015-06-27 20:07:33 -05:00
Max Ogden
86edff69d8 add basic tests, remove unused folder, make linux out dir behave like other OSes 2015-06-27 19:48:35 -05:00