48 Commits

Author SHA1 Message Date
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
Hassan Khan
1216447117 Add remaining integration tests
Now includes test cases for single/multiple user pools with single/multiple
event definitions on single/multiple functions.
2017-05-22 04:17:17 +01:00
Hassan Khan
4cf379d8b0 Add initial support for Cognito User Pools
This includes unit tests and documentation. A simple integration test
has been added.
2017-05-21 22:00:54 +01:00
Philipp Muens
1969f950e5 Merge pull request #3338 from horike37/add-integration-test-for-cloudwatchevent
Add integration test for cloudwatchevent
2017-03-23 08:44:34 +01:00
horike37
3db6ac7619 Update this test to putevent from EC2 2017-03-22 15:30:57 +09:00
Philipp Muens
1594868266 Merge pull request #3180 from nrako/fix_plugin_manager
Fix node_modules (serverless plugins) lookup
2017-03-13 13:54:28 +01:00
horike37
ee41d5e39a add integration tests for cloudwatch events 2017-03-08 11:56:19 +09:00
Eslam λ Hefnawy
2b8555f96c Merge pull request #3074 from horike37/add-integration-test-for-iot
add integration test for iot event
2017-03-01 20:32:29 +08:00
Nicholas Rakoto
bc9917cffe Add test for plugins loading relatively to the working directory 2017-02-25 00:19:44 +01:00
Doug Moscrop
acf74c4c96 add Support for SNS Subscription to existing topics 2017-01-23 15:13:45 -05:00
horike37
c75b0650d9 add integration test for iot event 2017-01-10 01:22:27 +09:00
Nik Graf
e41c643ee1 simplify finding the path 2016-12-16 15:51:11 +01:00
Nik Graf
1a833412be Merge branch 'test_speed' of https://github.com/dougmoscrop/serverless into dougmoscrop-test_speed 2016-12-16 11:33:36 +01:00
Nik Graf
4f1778da1c remove deprecated sed command 2016-12-16 11:22:39 +01:00
Nik Graf
b994ffe82f make sure the integration set suite works cross-platform (not depedent on gnu sed) 2016-12-16 11:19:35 +01:00
Doug Moscrop
3dd63ccb47 Try to use avajs for faster integration tests 2016-11-26 13:22:45 -05: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
a5239b66b2 Migrate S3 integration tests 2016-11-21 15:04:07 +01:00
Philipp Muens
964956ce7c Migration integration tests 2016-10-18 15:04:45 +02:00
Philipp Muens
3e93d244d3 Add subdirectory for tmpDirs
Add a subdirectory so that all directories which are generated for the tests are stored there.
Furthermore old tests are updated so that they use the tmpDir name generated by the test
utils functionality. This makes working with Docker way better as the tmpDirs are not created
It the root directory.
2016-09-27 11:48:14 +02:00
Philipp Muens
e425e55d48 Add getTmpFilePath method and update tests 2016-08-23 19:36:31 +02:00
Philipp Muens
5fedf6a4f9 Add getTmpDir util method and refactor tests 2016-08-23 13:51:16 +02:00