71 Commits

Author SHA1 Message Date
Mariusz Nowak
ff0750a111
Rely on @serverless/test/run-serverless 2019-09-13 16:53:47 +02:00
Mariusz Nowak
07f67d7f4e
Rely on temp dir as resolved in @serverless/test 2019-09-13 16:53:47 +02:00
Mariusz Nowak
6c949450bc
Refactor to rely on @serverless/test/skip-with-notice 2019-09-13 16:53:47 +02:00
Mariusz Nowak
008a9e9a47
Ensure working mock on Windows 2019-09-05 17:19:10 +02:00
Mariusz Nowak
7078a808e6
Rely on plugin paths not constructors
So it works with refreshed module exports
2019-09-05 16:12:49 +02:00
Mariusz Nowak
006a48c09d
Ensure to work with tracking disabled 2019-09-05 16:12:49 +02:00
Mariusz Nowak
453f608622
Expect simplified modulesCacheStub 2019-09-05 16:12:49 +02:00
Mariusz Nowak
9df4cb3e8b
Support env option 2019-09-05 16:12:49 +02:00
Mariusz Nowak
0bc32422e2
Introduce modulesCacheStub functionality 2019-09-05 16:12:49 +02:00
Mariusz Nowak
e088f5236e
Improve documentation 2019-09-05 16:12:48 +02:00
Mariusz Nowak
49328e13fc
Serverless test instance generator 2019-09-05 16:12:48 +02:00
Mariusz Nowak
23bee0d227
Unify test naming 2019-08-20 14:03:30 +02:00
Mariusz Nowak
1ce5d97484
Introduce 'wait' util 2019-08-20 13:55:38 +02:00
Mauro Ronchi
bedc937511 prettify 2019-08-19 16:39:22 +02:00
Mauro Ronchi
fb2ba4fbbf add integration tests for websocket API 2019-08-19 16:24:14 +02:00
Mariusz Nowak
09b18298bd
confirmCloudWatchLogs util 2019-08-13 17:30:31 +02:00
Mariusz Nowak
4943e601f5
Merge pull request #6517 from serverless/switch-from-jest-to-mocha
Switch integration tests runner from Jest to Mocha
2019-08-09 08:57:57 +02:00
Philipp Muens
f2a3fc9af1 Retain existing Cognito User Pool config 2019-08-08 14:34:57 +02:00
Mariusz Nowak
76bf4a7a73
Do not change cwd during tests 2019-08-08 13:50:52 +02:00
Philipp Muens
3b871ca9cb Multiple event definitions for existing Cognito User Pools 2019-08-06 13:08:42 +02:00
Philipp Muens
871b04e238 Add EventBridge event source 2019-07-26 13:36:22 +02:00
Philipp Muens
63c070c64c Add support for existing Cognito User Pools 2019-07-18 12:53:18 +02:00
Philipp Muens
d09b754874 Add support for existing S3 buckets 2019-07-09 15:41:59 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Philipp Muens
d69d57ea09
Merge pull request #6244 from serverless/RemoveDuplicatePackaging
Fix duplicate packaging issue
2019-06-19 10:20:50 +02:00
Mariusz Nowak
95ede380fa
Merge with master 2019-06-17 14:03:27 +02:00
Philipp Muens
c0b51bc12f Address PR review comments / add tests 2019-06-17 13:01:02 +02:00
Mariusz Nowak
977f176a85
Improve comment wording 2019-06-14 16:24:40 +02:00
Mariusz Nowak
7319759708
Improve comment placement 2019-06-14 15:54:24 +02:00
Mariusz Nowak
f19b042bef
Improve code comments 2019-06-14 15:53:37 +02:00
Mariusz Nowak
794d63d953
Ensure unique API key name 2019-06-14 15:28:36 +02:00
Mariusz Nowak
61370c3262
Return whole service config not just service name 2019-06-14 15:14:00 +02:00
Mariusz Nowak
be1cd80748
Improve test service setup 2019-06-14 15:10:43 +02:00
Mariusz Nowak
ab7c199771
Log child process output in case of fail 2019-06-13 17:58:19 +02:00
Philipp Muens
a02b31e91c Add support for S3 hosted package artifacts 2019-06-05 13:33:36 +02:00
Mariusz Nowak
aa5658a7dc
Support afterCallback in symlink fail skip 2019-06-05 09:52:26 +02:00
Mariusz Nowak
67a67ae780
Validate against invalid suite injection 2019-06-05 09:47:59 +02:00
Mariusz Nowak
a68150356c
Support pass of after callback 2019-06-05 09:45:29 +02:00
Mariusz Nowak
194a12e799
Skip with notice functionality 2019-06-05 09:40:11 +02:00
Mariusz Nowak
31f5812b41
Ensure distinct homedir for each test file run 2019-06-04 12:43:27 +02:00
Mariusz Nowak
06dafbeba2
Expose process output in case of errors 2019-05-31 21:12:52 +02:00
Mariusz Nowak
f6d993e97b
Merge with master 2019-05-31 12:36:53 +02:00
Mariusz Nowak
56a3a4e105
Expose tmp dir common path 2019-05-30 21:40:31 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Daniel Schep
ba27f9a0e3 add integration tests using sls package
Just the beginning. a few simple file inclusion tests and a cfn tempalte test
closes #5938
2019-05-13 15:30:18 -04:00
Danny Varner
d3fef359f4 Fix linting errors 2019-01-25 21:08:58 -08:00
Danny Varner
4ad73bb7ca Add test for profile fix 2019-01-25 20:55:33 -08:00
Philipp Muens
6e807fa1bf Update code to be run on "deploy" and "package" 2017-06-13 08:39:01 +02:00
Philipp Muens
f0e12ee9eb Fix integration tests 2017-06-01 13:25:03 +02:00
Hassan Khan
271e3c8d56 Fix integration tests
There were several resource names that were incorrectly specified
that were causing the tests to fail. `Utils.getCognitoUserPoolId`
was only returning a single item, which was also causing failures.
2017-05-25 22:19:30 +01:00