Commit Graph

33 Commits

Author SHA1 Message Date
Ash Wilson
e90441303d
🔥 console.logs 2017-08-02 19:34:44 -04:00
Ash Wilson
2574ca5736
More diagnostics 2017-08-01 11:27:15 -04:00
Ash Wilson
db2b196404
Diagnostics for AppVeyor 2017-08-01 11:27:15 -04:00
Ash Wilson
a7105980a3
If TEST_JUNIT_XML_PATH is set, output JUnit XML format test results 2017-08-01 11:27:14 -04:00
Indrek Ardel
55f3311c01 Remove unused variables 2016-09-26 20:52:13 +03:00
Antonio Scandurra
147fed3123
Revert "Remove this commit if it works on travis"
This reverts commit 303bb8c74e.
2016-04-14 15:46:50 +02:00
Antonio Scandurra
303bb8c74e
Remove this commit if it works on travis 2016-04-14 11:24:59 +02:00
Antonio Scandurra
4adf23a595
Unconditionally report deprecations on every test environment 2016-04-14 11:24:01 +02:00
Wliu
3f471cd94f Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35 2016-01-25 16:33:50 -05:00
case
8c5c795b35 Remove Duplicate Require Statements and Unify Syntax on ' 2016-01-15 14:35:28 -06:00
Cheng Zhao
c186d70bec Also use require('electron') in specs 2015-12-11 10:03:20 +08:00
Wliu
fec1507ff4 Require ipc-renderer where it belongs 2015-11-18 21:10:40 -05:00
Wliu
6cd480b37e Fix Electron deprecations 2015-11-17 21:16:09 -05:00
Antonio Scandurra
c38cd48555 Bring back failure reports when running grunt run-specs
Log output to stderr as we did before, so that grunt can, in turn, output it to
console when specs fail.

Welcome back build failures! 🎉

/cc: @nathansobo @maxbrunsfeld
2015-10-15 09:56:13 +02:00
Nathan Sobo
dc44d11a2c Don’t load/save config if enablePersistence option is false 2015-10-14 20:05:06 -06:00
Antonio Scandurra
b25d3e944b Parameterize configDirPath and move config.load in ctor 2015-10-14 12:41:36 +02:00
Antonio Scandurra
d9af8686ed 🔥 Avoid attaching CommandRegistry to window twice 2015-10-14 10:29:56 +02:00
Nathan Sobo
903ecca1f7 Parameterize document on AtomEnvironment 2015-10-13 19:48:56 -06:00
Nathan Sobo
65ae175e72 Pass explicit window global into AtomEnvironment on construction 2015-10-13 19:35:51 -06:00
Nathan Sobo
84aa8471b4 Pass AppDelegate to Workspace, Pane instead of bound functions
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 18:54:48 -06:00
Nathan Sobo
e92cb86335 Introduce ApplicationDelegate to AtomEnvironment
All external actions are performed via this delegate for test-isolation
purposes.
2015-10-13 15:42:57 -06:00
Antonio Scandurra
cf5d94f084 Return a promise in test runners 2015-10-13 09:02:37 +02:00
Nathan Sobo
69e8b0cfb1 Prevent title change during specs 2015-10-12 15:19:55 -06:00
Max Brunsfeld
778023c78b Make factory for StylesElements on atom.styles 2015-10-09 13:46:32 -07:00
Max Brunsfeld
5c545c0898 Don't register CommandRegistry's window listeners in AtomEnvironment constructor 2015-10-08 17:34:41 -07:00
Antonio Scandurra
2532a9cd59 Don't use atom globals in StylesElement 2015-10-07 15:25:02 -05:00
Nathan Sobo
dcb1d8296f Pass buildAtomEnvironment function to test runner
Don’t build an AtomEnvironment or assign it to the atom global until
this function is called by the runner.
2015-10-07 15:25:00 -05:00
Nathan Sobo
57bae5745f Check deprecations on travis 2015-10-07 15:24:54 -05:00
Nathan Sobo
ee270db7ac Move document mutation to startEditorWindow 2015-10-07 15:24:53 -05:00
Nathan Sobo
b32d49fab1 Allow running of individual test paths in legacy jasmine runner 2015-10-07 15:24:51 -05:00
Nathan Sobo
7a77ffde43 Log to stdout from terminal runner via ipc
For some reason, logging to stderr/stdout from the render process only
works when Atom is run via child_process.spawn, which is how `apm test`
invokes it.

I’m trying to make a convenient interface for running tests directly via
the `atom` command, and this is the only way I could find to long to
stdout from the render process.

I’m also choosing stdout rather than stderr because in this case, you’re
intentionally running the tests and want to see feedback.
2015-10-07 15:24:50 -05:00
Nathan Sobo
8e988e874e Rename exitWhenDone to headless 2015-10-07 15:24:50 -05:00
Nathan Sobo
2600115ebe Start moving toward a customizable test runner 2015-10-07 15:24:50 -05:00