Commit Graph

16 Commits

Author SHA1 Message Date
Trent Mick
4760defd05 joyent/node-triton#88: triton inst ... support for updating tags 2016-02-11 09:46:43 -08:00
Trent Mick
21164320c7 improvements for using node-triton as a module 2015-12-08 11:59:45 -08:00
Trent Mick
6918fb93f7 joyent/node-triton#54 'triton rbac reset', 'triton [rbac] keys' default output changes, 'triton rbac apply' implicit usage of './rbac-user-keys' dir, drop shortIds for 'triton rbac ...' 2015-11-21 12:41:16 -08:00
Trent Mick
0ee966e1c8 joyent/node-triton#39 change the test config 'destructiveAllowed' var to 'writeActionsAllowed'
Fixes #39
2015-10-07 12:19:26 -07:00
Trent Mick
8ece8d0024 Integration test config handling improvements. Add 'ResourceNotFound' error and fine tune exit status handling.
Fixes #37.
2015-10-06 23:24:42 -07:00
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
055c64efc5 move triton wrapper to h.safeTriton, add profile comment 2015-09-29 14:45:34 -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
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
Trent Mick
333c47ae26 a start at a test framework 2015-09-01 00:31:00 -07:00