1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-07-03 08:40:49 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
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