2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-14 00:54:04 +00:00
nativefier/test
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
..
fixtures Add more comprehensive tests 2015-06-28 16:57:59 -04:00
basic.js Add more comprehensive tests 2015-06-28 16:57:59 -04:00
config.json Add more comprehensive tests 2015-06-28 16:57:59 -04:00
index.js Add more comprehensive tests 2015-06-28 16:57:59 -04:00
mac.js Add more comprehensive tests 2015-06-28 16:57:59 -04:00
multitarget.js Add more comprehensive tests 2015-06-28 16:57:59 -04:00
util.js Add more comprehensive tests 2015-06-28 16:57:59 -04:00