Commit Graph

22 Commits

Author SHA1 Message Date
Trent Mick
a67341b1b0 'make test' now runs unit and integration tests.
'make test-unit' just the unit tests (pre-commit updated to just the latter
Fix one typo in destructiveAllowed.
2015-10-05 07:31:49 -07:00
Dave Eddy
b225896a5e place config require logic inside try/catch 2015-10-01 12:28:06 -04:00
Dave Eddy
3ba8f312f1 add TRITON_TEST_PROFILE and TRITON_TEST_DESTRUCTIVE_ALLOWED 2015-10-01 12:27:05 -04:00
Dave Eddy
464851843a add "list" and "ls" aliases for "instances", fixes #34 2015-09-29 18:01:18 -04:00
Dave Eddy
e3335c5dc2 add profiles tests 2015-09-29 14:45:52 -04:00
Dave Eddy
055c64efc5 move triton wrapper to h.safeTriton, add profile comment 2015-09-29 14:45:34 -04:00
Dave Eddy
1eefcccf38 more integration tests 2015-09-29 12:53:34 -04:00
Trent Mick
a5ee77a48e profile(s) in cli-subcommands test 2015-09-25 14:16:16 -07:00
Trent Mick
1759b29f2f Add test/ to make check, and fix that. 2015-09-25 12:24:37 -07:00
Dave Eddy
403e4bd204 opts.skip for destructive stuff 2015-09-25 13:45:16 -04:00
Dave Eddy
2eeb68cba5 document destructiveAllowed, use TRITON_* vars for tests 2015-09-25 13:24:12 -04:00
Dave Eddy
7169b06772 destructive => destructiveAllowed 2015-09-25 13:13:39 -04:00
Dave Eddy
e5c5f2d54c use env profile for integration tests 2015-09-25 13:10:39 -04:00
Dave Eddy
04c7b638d7 key_id => keyId 2015-09-25 13:08:00 -04:00
Dave Eddy
4bbb43fcc9 foundation for integration tests 2015-09-24 17:48:26 -04:00
Dave Eddy
6cc9fa3e70 integration tests for all sub commands usage 2015-09-22 13:55:42 -04:00
Dave Eddy
46927aeed7 integration tests updates
- support Array or String when using execPlus
- pass SSH_AUTH_SOCK to support ssh-agent signing
- use current node binary with process.execPath
- config.insecure defaults to false if undefined
2015-09-21 18:48:59 -04:00
Dave Eddy
c3a91411f9 lots of unit tests 2015-09-02 15:38:27 -04:00
Trent Mick
58a7c9977b joyent/node-triton#4 triton networks/network to support shortId as well and to include fabric
flag
2015-09-02 00:03:17 -07:00
Dave Eddy
d76535b4d2 negative sizes support, add more tests 2015-09-01 13:47:35 -04:00
Dave Eddy
42f0ee5a41 fix bug in humanSizeFromBytes 2015-09-01 13:44:10 -04:00
Trent Mick
333c47ae26 a start at a test framework 2015-09-01 00:31:00 -07:00