Rafael Oleza
6fcfaffa04
Do not depend on CONFIG.executableName on the windows tests
...
CONFIG.executableName depends on the ATOM_RELEASE_VERSION env variable
to work correctly on nightly releases.
Since this env variable is not being set for the testing steps, the
nightly release builds contain a wrong executableName on the testing
step, which causes a failure when trying to find the Atom executable.
This commit fixes that by stop using the executableName from the test
step, like it's done on other platforms.
2019-07-17 11:40:39 +02:00
Rafael Oleza
b6644dfad8
Merge branch 'master' into dw-windows-separate-channels
2019-06-25 15:49:34 +02:00
Antonio Scandurra
ee0ddaa1d8
Run each test suite with a pristine ATOM_HOME directory
...
This ensures that every test suite does not clutter subsequent ones. It
will also prevent altering the user's `~/.atom` directory when running
tests locally.
2019-06-07 09:33:09 +02:00
Antonio Scandurra
6a88fa4185
Don't symlink compile-cache folder in AtomWindow tests
...
In these tests, we create a temporary `ATOM_HOME` to avoid cluttering
the user's real `~/.atom` folder.
Adding a symlink to the real `compile-cache` was introduced to speed up
main process tests, so that the transpilation cache could be reused.
Unfortunately, when the real `~/.atom` folder did not exist (such as on
a pristine environment on CI), it would confuse Atom, which would think
that it didn't need to re-create a `compile-cache` folder again, but
wouldn't be able to write to it because the symlink pointed to a
non-existant directory.
Main process tests were overhauled and made faster recently, so we can
safely remove this performance optimization.
2019-06-06 17:11:01 +02:00
Antonio Scandurra
587a4dd72d
Run main process tests during build step
...
For some reason, one main process test fails when run in a different
container than the one in which Atom was built. These tests are pretty
quick, so their impact on parallelism should be negligible.
2019-06-05 14:11:11 +02:00
Antonio Scandurra
2b0e5b0c32
Split package tests more evenly across containers
2019-06-05 13:29:24 +02:00
Antonio Scandurra
791a583860
Run package tests in parallel
2019-06-05 10:05:19 +02:00
Antonio Scandurra
9d2494ca16
Don't run benchmark tests during script/test unless explicitly requested
2019-06-04 18:50:50 +02:00
Antonio Scandurra
0d00538da3
Run core and package tests in parallel for macOS on Azure Pipelines
2019-06-04 18:50:26 +02:00
Rafael Oleza
975f203dc7
Merge commit '677bbb7f0b8754787ff9e7bfab4602ba82e13b0b' into dw-windows-separate-channels
2019-06-01 00:27:52 +02:00
Nathan Sobo
770b8fdcf8
Revert "Merge pull request #19244 from atom/ns/notify"
...
This reverts commit b2ecabd527
, reversing
changes made to c3bf95194a
.
2019-05-17 04:10:17 -06:00
Nathan Sobo
e58d52ee23
Add clarifying assertion to test script
2019-05-09 08:42:02 -06:00
Rafael Oleza
91558332de
Add debugging message specifying which step failed
2019-04-12 12:53:20 +02:00
Rafael Oleza
a7ac4a2147
Change the way exitCodes are passed from the test steps
2019-04-12 12:52:55 +02:00
Ash Wilson
efd9151589
Revert temporary script/test changes
2019-02-15 16:09:27 -05:00
Ash Wilson
50b8dad3b9
Set TEST_JUNIT_RUN to the current suite name
2019-02-12 11:59:20 -05:00
Ash Wilson
3b7ac36bec
Azure doesn't like trailing whitespace
2019-02-11 13:31:59 -05:00
Ash Wilson
65c0cc3122
Use spaces in prepareEnv() calls
2019-02-11 10:14:58 -05:00
Ash Wilson
f4f3d12719
Remove intermediate directory and TEST- prefix
2019-02-11 10:13:10 -05:00
Ash Wilson
55874e8353
Include suite name and optional run prefix in JUnit output filename
2019-02-07 08:49:03 -05:00
Ash Wilson
284ae721c7
Run everything everywhere mwahahaha
2019-02-07 08:48:34 -05:00
Ash Wilson
8dfdccbb10
One Mocha suite, one Jasmine suite
2019-02-06 20:21:19 -05:00
Ash Wilson
67c3535a36
Accept arguments to manually filter script/test
2019-01-08 20:36:27 -05:00
David Wilson
eb7f0aa452
Produce channel-specific Atom .exe and .cmd files on Windows
2018-09-20 12:05:01 -07:00
Ash Wilson
cdd433a954
Overeager glob
2018-05-07 12:53:31 -04:00
Steven
80c81b9e03
PR feedback
2017-09-08 15:56:48 -07:00
Steven Hobson-Campbell
f00bc1e1ad
Switching from minimist -> yargs
2017-09-05 17:58:36 -07:00
Steven Hobson-Campbell
59f6065e9b
Adding option to skip main process tests. Cleaning up resources in tests.
2017-08-22 19:09:52 -07:00
Ash Wilson
e5139874d0
🔥 dumping the test environment
2017-08-02 20:08:20 -04:00
Ash Wilson
7244fb9670
Format script/test with standard
2017-08-02 08:18:25 -04:00
Ash Wilson
adec6fe981
Dump the environment before running core main process tests
2017-08-01 11:27:16 -04:00
Ash Wilson
fa89d53c8c
Default to passing process.env to all suites in script/test
2017-08-01 11:27:15 -04:00
Ash Wilson
830038f1ac
Use TEST_JUNIT_XML_ROOT instead of the CircleCI-specific root
2017-08-01 11:27:15 -04:00
Ash Wilson
37842fd2d4
Populate TEST_JUNIT_XML_PATH on CircleCI
2017-08-01 11:27:14 -04:00
Wliu
16be073c91
Merge branch 'master' into wl-build-on-node-7
2017-05-30 15:40:02 -04:00
Michelle Tilley
6e61fe9a32
Install devDeps in the root package path where they're not cached
2017-05-17 19:01:36 +02:00
Michelle Tilley
8303e179ae
Extract backup-node-modules.js
2017-05-17 17:53:36 +02:00
Michelle Tilley
fb99a9907f
Show stdout in addition to stderr in script/test
2017-05-15 19:25:55 +02:00
Wliu
7c2510eb9c
Merge branch 'master' into wl-build-on-node-7
2017-05-11 12:06:26 -04:00
Michelle Tilley
30ee14bd13
Revert "Don't run GitHub operations inline during script/test"
...
This reverts commit 7ccf465370
.
2017-05-10 17:17:06 +02:00
Michelle Tilley
7ccf465370
Don't run GitHub operations inline during script/test
2017-05-10 15:36:24 +02:00
Michelle Tilley
f6945792cd
Install devDeps inside root package folder during tests
...
Clean them up when we're done
2017-05-10 12:55:55 +02:00
Michelle Tilley
8d4376757a
Allow ATOM_PACKAGES_TO_TEST env var to set which packages to run tests for
2017-05-10 12:55:10 +02:00
Michelle Tilley
1b165804c3
Run tests in the root node_modules package folder
2017-05-10 07:46:31 +02:00
Michelle Tilley
ae6101c2d5
Only install apm deps for packages with atomTestRunner defined
2017-05-10 07:09:04 +02:00
Michelle Tilley
b74cb80f19
Ensure script/tests runs package tests with devDeps installed
2017-05-09 15:21:26 +02:00
Michelle Tilley
d5ceae806b
Run main process tests with ATOM_GITHUB_INLINE_GIT_EXEC set
2017-05-08 15:25:20 +02:00
Michelle Tilley
655cbf2d7e
Run package tests from spec/ or test/ subfolders
2017-05-08 13:55:27 +02:00
Wliu
33cd8b87dc
👕
2017-03-24 11:38:11 -04:00
Wliu
7bb08e39f3
👕
2017-01-24 23:41:30 -05:00