Commit Graph

35 Commits

Author SHA1 Message Date
David Glasser
131b73bc71 update tools/tests id files
really, these directories shouldn't have the files, we should copy to a
temp dir...
2014-08-22 17:33:36 -07:00
David Glasser
ddc3657e4f Watch files which fail before emitting a resource
Regression introduced by the CSS watching code (specifically, f230eba62)
by the sourceIsWatched check. We need to be able to tell the difference
between "source handler didn't do anything because there was an error"
and "source handler didn't do anything because it's web-specific and
this is an os arch".

A simple fix would have been to interpret compileStep.error as
"sourceIsWatched = true", but I didn't think of that until after doing
it the slightly more complicated but more precise way :)

Also, ensure that if the runner rebuilds the client and there's an
error, it properly kills the app process (and the watchers and the
keepalive interval, etc).
2014-08-04 21:32:22 -07:00
Matthew Arbesfeld
b8ae210d9b Add documentation 2014-07-28 17:12:26 -07:00
Matthew Arbesfeld
55fe8a8aae Fix hot code push client-side reloads.
We were overwriting the server directory when a client-side file changed,
which made all process calls fail, such as process.cwd() and fs.*. We
abstracted out some of the builder code so that only the client targets
are "rebuilt" when a client side file changes.
2014-07-28 17:12:26 -07:00
Avital Oliver
a6db03f131 Unbreak hot code push test by eliminating references to non-existent spacebars-common package 2014-07-23 20:27:35 -07:00
ekatek
0a64950d6a oops, adding a test file from a few tests ago 2014-07-17 15:41:39 -07:00
Matthew Arbesfeld
0fc0fce64a Fix Avi's comments. 2014-07-09 10:53:21 -07:00
Matthew Arbesfeld
ee0b9eea51 Update tests 2014-07-09 10:31:44 -07:00
Matthew Arbesfeld
4b88e70629 Fix client css insert 2014-07-09 10:31:44 -07:00
Matthew Arbesfeld
f230eba62b Client CSS and template injection. 2014-07-09 10:31:44 -07:00
ekatek
8ed9d3459c removed some name fields, changes console.log to process.std[out,err].write in commands-packages and gave user a warning to remember to publish for arch. 2014-07-08 22:41:21 -07:00
Matthew Arbesfeld
ff3c9746f0 Implement client side testing for self-test.
This patch enables a user to pass --phantomjs and/or --browserstack to
`meteor self-test` to run tests against a connected client.
2014-07-01 18:12:07 -07:00
Emily Stark
e8b1fddc4e Do a 'meteor run' in report-stats test.
It tests that stats get sent on 'meteor run', and also is faster than
bundling.
2014-06-25 11:12:12 -07:00
Emily Stark
4b58ba4d99 A steaming pile of hacks to get report-stats test passing. 2014-06-25 11:12:12 -07:00
Emily Stark
c2ccbd5f8b Don't print weird things when packages have no descriptions. 2014-06-24 16:25:41 -07:00
David Glasser
2e5adc2659 fix autoupdate test
also fixes a bunch of other stuff like:

- parseStack markTop works again (so you get the right line numbers in
  self-test)

- you can (with appropriate env var) run apps with NO PACKAGES at
  all (even ctl)

- more consistently refer to METEOR-CORE@ releases as "Meteor 1.2.3"
2014-06-17 14:26:29 -07:00
ekatek
2ddc63e538 project safeToUse to solve infinite loops in tests 2014-05-28 18:16:12 -07:00
ekatek
5f8b1be152 split catalog in two 2014-05-27 12:17:57 -07:00
ekatek
d2d82556f3 add release file to this test 2014-05-06 13:42:18 -07:00
David Glasser
3cbcf05438 remove 'meteor run-command'
We never really used it for anything, and it uses uniload in a
now-unsupported way (uniload in a built release now only can load a
predefined set of prebuilt packages)
2014-04-28 19:59:59 -07:00
David Glasser
fbde0a00a7 Merge branch 'publish-packages' into library-refactor
Conflicts:
	packages/domutils/package.js
	packages/handlebars/package.js
	packages/htmljs/package.js
	packages/liverange/package.js
	packages/spark/package.js
	packages/universal-events/package.js
	tools/bundler.js
	tools/help.txt
	tools/packages.js
	tools/run-app.js
	tools/run-mongo.js
	tools/skel/.meteor/packages
2014-04-24 17:01:36 -07:00
ekatek
e4c7c28a6a some more tests 2014-04-15 01:31:36 -04:00
ekatek
b8c9222a27 some tests: adding packages and editing in place 2014-04-15 00:23:12 -04:00
David Glasser
72c9657b0e Test that observeChanges works over a failover 2014-04-10 16:56:32 -07:00
ekatek
77358ba28b more test cleanup 2014-04-04 19:28:28 -07:00
ekatek
5b11956bed Modify test app packages to include versions 2014-04-04 18:42:23 -07:00
Andrew Wilcox
6f4f723c6a Allow user to set heartbeat interval to 0 to disable sending pings.
Add test flag `_respondToPings` which allows tests to disable
responding to pings.
2014-03-30 20:03:29 -07:00
Andrew Wilcox
8709365598 Stop heartbeats on client side disconnect.
Use heartbeatInterval: 0 to disable heartbeats for testing.

No need to add `_internal` to the public connection API because we
can get to the internal session through the server.
2014-03-30 20:03:29 -07:00
Andrew Wilcox
865eb30015 Move protocol out of heartbeat.js 2014-03-30 20:03:29 -07:00
Andrew Wilcox
0ac3bf9d4b Move the ddp-heartbeat test into tools/tests. 2014-03-30 20:03:29 -07:00
David Glasser
993fbc90cb run-command tests 2014-02-17 19:46:29 -08:00
Emily Stark
b04aa12d39 Make 'empty' a test app with no packages.
Rename previous 'empty' app to 'standard-app'.
2014-02-14 17:59:59 -08:00
David Glasser
ea793cb906 Test for #1808 2014-02-14 00:24:49 -08:00
Geoff Schmidt
e1994f6ece First installment of 'meteor run' tests.
Tests meteor --once and restarting on upgrade.
2014-01-29 02:02:17 -08:00
Geoff Schmidt
fd5073888a Rename 'self tests' directory to 'tests' 2014-01-28 16:00:46 -08:00