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
377d940ba0
fake-mongod, a stub mongod for automated testing
2014-01-28 19:36:04 -08:00
Geoff Schmidt
fd5073888a
Rename 'self tests' directory to 'tests'
2014-01-28 16:00:46 -08:00
Geoff Schmidt
cdc894a0aa
finish bringing all old tool tests under the 'meteor self-test' umbrella
2014-01-27 07:02:38 -08:00
Geoff Schmidt
b26ccb914e
port some old tests - WIP
2014-01-27 06:02:01 -08:00
Geoff Schmidt
b3a113e699
port some old tests - WIP
2014-01-27 05:22:01 -08:00
Geoff Schmidt
83183a98d0
remove unused, bitrotted engine transition test hook
2014-01-27 02:34:53 -08:00
Geoff Schmidt
5f7393b3a4
Autoupdater tests! They pass.
2014-01-27 02:31:39 -08:00
Geoff Schmidt
32f2791942
Test springboarding errors/edge cases.
2014-01-27 01:13:18 -08:00
Geoff Schmidt
8c4d68ee28
double-check that we're springboarding
2014-01-27 00:08:36 -08:00
Geoff Schmidt
35c208b5b9
Tags group tests.
2014-01-26 22:27:15 -08:00
Geoff Schmidt
170861a358
better handling for apps in self-test sandbox
2014-01-26 21:08:59 -08:00
Geoff Schmidt
89d778a622
Hey cool! A springboarding test!
2014-01-26 20:48:20 -08:00
Geoff Schmidt
c53e85d333
warehouse sandboxing - WIP
2014-01-26 20:15:34 -08:00
Geoff Schmidt
ba37c7df71
one more command line parser test
2014-01-26 17:40:27 -08:00
Geoff Schmidt
abc007f58c
Test to make sure that certain strings don't appear in the output
2014-01-24 02:11:45 -08:00
Geoff Schmidt
b460fe8029
Replace optimist. All tests pass.
2014-01-23 23:33:28 -08:00
Geoff Schmidt
826a035c1f
Command-line option parser tests.
...
Finds an optimist problem.
2014-01-23 20:57:50 -08:00
Geoff Schmidt
bb7369314b
Test harness improvements:
...
- sandboxes can specify an app template
- show both stdout and stderr output on any failure
2014-01-23 20:02:35 -08:00
Geoff Schmidt
a88ee7f84d
'meteor --help' gives top level help, not run help
2014-01-23 18:16:19 -08:00
Geoff Schmidt
539024c771
option to run only changed tests
2014-01-22 15:23:19 -08:00
Geoff Schmidt
abb54f7ec0
move tests into separate files
2014-01-22 14:15:24 -08:00
Geoff Schmidt
0c69701a32
sandbox tests. for now, just the .meteorsession file.
2014-01-22 02:54:10 -08:00
Geoff Schmidt
ac52f0eaf4
test harness: support exact match
2014-01-20 17:44:47 -08:00
Geoff Schmidt
01e211fc05
Ignore old dont-fetch-latest flag
2014-01-20 17:44:16 -08:00
David Glasser
be96c4a110
wait -> waitSecs
2014-01-16 11:00:04 -08:00
David Glasser
44341f4ff9
Merge branch 'sso' into tool-refactoring
...
Conflicts:
tools/auth.js
tools/mongo_runner.js
tools/tests/test-bundler-npm.js
2014-01-16 10:54:33 -08:00
David Glasser
4f5d114771
Don't call onListen more than once
...
eg, maybe the replset loses and regains its PRIMARY.
(Manually ported to tool-refactoring from devel.)
2014-01-16 10:43:58 -08:00
David Glasser
aa68610b46
Don't leave invalid METEOR-PORT files around
...
Could cause mongo startup to hang.
Reproduction:
$ meteor
=> Meteor server running on: http://localhost:3000/
# ... wait for server to start, ctrl-c.
# leaves '3002' in .meteor/local/db/METEOR-PORT
$ meteor -p 5000
# ctrl-c in about a second: once we've wiped the old local db
# but before we've configured the new one.
# before this commit, '3002' is still in the METEOR-PORT file.
$ meteor
# before this commit, hangs with:
Initializing mongo database... this may take a moment.
(Manually ported to tool-refactoring from devel.)
2014-01-16 10:42:54 -08:00
David Glasser
1d39c2fb5e
mongo_runner: Don't send rs.initiate too early
...
Fixes #1696 . Thanks to @Maxpain177 for reporting and providing access to
a machine where this was easily reproducible.
(Manually ported to tool-refactoring from devel.)
2014-01-16 10:36:59 -08:00
David Glasser
ea14611031
Be less encouraging of "meteor run" in production
2014-01-15 14:30:31 -08:00
Geoff Schmidt
1bf1c094ce
First pass on new test harness for command-line tool
2014-01-09 02:47:17 -08:00
Geoff Schmidt
8b7475a8a6
Detect options that need a value but didn't get one.
2014-01-08 18:14:04 -08:00
Geoff Schmidt
b940e06006
make getSettings report problems cleanly
...
(using buildmessages rather exceptions)
2014-01-08 17:18:32 -08:00
Geoff Schmidt
054ab2da94
Eliminate last process.exit call!
...
(other than main.js and tests, where it's OK)
2014-01-07 23:50:25 -08:00
Geoff Schmidt
b72a7e2e83
Eliminate the process.exit in library.js
2014-01-07 23:19:32 -08:00
Geoff Schmidt
8bded5c44f
eliminate process.exit from release.js and warehouse.js
2014-01-07 22:58:00 -08:00
Geoff Schmidt
a1decc47af
eliminate process.exit calls in deploy.js
2014-01-07 19:04:48 -08:00
Geoff Schmidt
04b2957670
better error handling in deploy-galaxy.js
2014-01-07 18:52:59 -08:00
Geoff Schmidt
be0a11802d
Print progress messages on startup. Fix some bugs.
2014-01-07 16:55:58 -08:00
Geoff Schmidt
a5658ade21
bundler no longer takes a release
...
(it gets it from the app and from release.current)
2014-01-07 14:46:39 -08:00
Geoff Schmidt
9813345e15
move runMongoShell to appropriate file. fix some bugs.
2014-01-06 23:30:19 -08:00
Geoff Schmidt
f2a1d9c71c
rename runner.js to run-all.js
...
make main.js the entry point rather than meteor.js
2014-01-06 22:42:29 -08:00
Geoff Schmidt
dbe6edf11c
read ROOT_URL from environment in commands.js, not runner.js
2014-01-06 22:28:29 -08:00
Geoff Schmidt
4ccfa114c8
read MONGO_URL from environment in commands.js, not run*.js
2014-01-06 22:16:13 -08:00
Geoff Schmidt
7522005575
runner refactor - WIP (rejigger runOnce/entry point)
...
getting into pretty good shape now!
2014-01-04 04:08:54 -08:00
Geoff Schmidt
63f5ec6388
runner refactor - WIP
2014-01-03 22:03:18 -08:00
Geoff Schmidt
088d70da36
runner refactor - WIP (break runner.js up into several files)
2014-01-03 20:36:13 -08:00
Geoff Schmidt
535cc95446
runner refactor - WIP
2014-01-03 18:20:07 -08:00
Emily Stark
f4e3a08bae
Print human-friendly error messages for common login failures.
2014-01-03 14:31:18 -08:00