45 Commits

Author SHA1 Message Date
Mariusz Nowak
f3017894c8
Update @serverless/test dependency 2019-10-21 17:42:50 +02:00
Mariusz Nowak
7fce1c77a3
Remove obsolete comment 2019-10-21 17:42:09 +02:00
Mariusz Nowak
16fa70c209
Improve CLI integration tests 2019-10-21 17:39:59 +02:00
Mariusz Nowak
2c26e6f423
Lint fixes 2019-10-21 17:39:59 +02:00
Mariusz Nowak
c43c3f5e62
Improve timeout setup 2019-10-21 17:39:59 +02:00
Mariusz Nowak
b33e96dbce
Allow to customize serverless binary path 2019-10-21 17:39:59 +02:00
Eslam A. Hefnawy
7ee130ad28 prettify components versions 2019-09-18 18:14:22 +03:00
Eslam A. Hefnawy
46f2083c41 fix tests 2019-09-18 16:24:25 +03:00
Eslam A. Hefnawy
b5ef8bb9cd fixed tests and lints 2019-09-18 15:29:30 +03:00
Philipp Muens
8f86fb29bb Fix test 2019-08-05 16:37:17 +02:00
astuyve
ac6b740de9
Remove Enterprise and Platform from log info 2019-08-05 08:08:17 -05:00
Philipp Muens
1d4ef3b2b6 Add tests 2019-07-10 11:10:16 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Mariusz Nowak
dff3a53f84
Ensure to print child output in case of failure 2019-06-04 11:50:32 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Mariusz Nowak
24d1f49e7a
Ensure to return promise 2019-05-23 13:33:46 +02:00
Mariusz Nowak
edc3138ed6
Support color output in tests 2019-05-10 17:18:45 +02:00
Philipp Muens
a38063df64 Highlight skipping of deployments 2019-05-03 13:58:16 +02:00
danielconde
5f14da535b make displayCommandUsage container command tests more explicit 2019-02-11 20:44:11 +00:00
Daniel Conde
1a4ce917a7 add support for command type='container' 2019-02-09 14:59:13 +00:00
Eslam A. Hefnawy
c551abfe82 fixed cli tests when running in debug mode 2019-02-05 15:43:41 +03:00
exoego
59c440e073 Make it clear that logs don't always get suppressed. 2019-01-23 14:33:53 +09:00
exoego
0e6c62ef9b Merge remote-tracking branch 'upstream/master' into print-no-log
# Conflicts:
#	lib/classes/CLI.test.js
2019-01-23 14:19:25 +09:00
exoego
c930079d5b Do not print logs if print command is used. 2019-01-20 16:10:02 +09:00
exoego
622be4b2cd Add test to verify number conversion never happen 2019-01-20 13:48:31 +09:00
Daniel Schep
11a6688146 test covering #5493 2018-11-15 13:19:31 -05:00
Jerzy Kozera
efa6963242 Fix issues with PR #5631 causing base64 errors
- Some of values were not converted back from base64, which resulted in
  spurious errors with base64 strings.
  (This was caused by nested arrays, like commands, not being converted
   back, combined with the wrong assumption that commands always occur
   before options. It is not always true, as the added test case
   demonstrates.)
- Some other values were converted *from* base64, but they weren't
  base64 in the first place, which resulted in junk binary data.
  (This was due to the invalid assumption that only odd-numbered values
   need to be converted.)
2018-11-15 17:39:35 +01:00
Gerson Niño
d1e0fbd6f1 Adding unit test 2018-10-06 01:15:04 -05:00
Philipp Muens
a76ae91488 Merge pull request #3825 from darkowlzz/3784-help-plugin-sort
Display plugin commands alphabetically under help
2017-06-26 12:34:01 +02:00
Philipp Muens
7b64e71dfa Update test 2017-06-26 12:02:47 +02:00
Philipp Muens
ecb9924054 Update tests 2017-06-26 09:36:13 +02:00
Sunny
185af2e519 Remove entrypoint subcmds in generateCommandsHelp 2017-06-25 15:55:38 +05:30
Sunny
1aca36020c Extract, sort and display plugin commands & test 2017-06-21 17:58:33 +05:30
Philipp Muens
67a989f51a Remove breaking change logging 2017-03-29 09:19:39 +02:00
davidwells
ade23e0d4c update linting 2017-03-16 15:10:58 -07:00
davidwells
4f6c719075 update test to work with new message 2017-03-16 15:04:14 -07:00
Andrey Tserkus
09ab0468c0 Improved tests for logBreakingChange() function:
- fixed the tests when `SLS_IGNORE_WARNING` is set in the shell environment
- refactored the tests to clearly expose the tested input combinations (+ added the missing combination - to have a formally complete verification)
- added the `SLS_IGNORE_WARNING=*` setting to Travis builds, so that their output doesn't contain unnecessary noise about upcoming changes
2017-02-16 23:18:56 -08:00
Eslam A. Hefnawy
fe2cf87474 updated test 2017-02-14 21:06:01 +07:00
Nikos Katsikanis
09ccc63b64 Remove unneeded code 2017-02-14 10:17:45 +00:00
Philipp Muens
7044d567df Refactor for more convenience and add tests 2017-02-09 14:40:08 +01:00
Andrey Tserkus
634f115118 fix typo in CLI test: construtor -> constructor 2017-01-31 01:50:17 -08:00
Philipp Muens
092487ab10 Increase test coverage for CLI class 2016-12-22 14:57:34 +01:00
Philipp Muens
8aad2372eb Refactor test structure
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00
Philipp Muens
2356a8f3f4 Remove unnecessary timeouts in tests 2016-11-16 11:40:39 +01:00
Philipp Muens
25b233137f Move class tests into classes directory 2016-10-19 08:32:06 +02:00