Eslam A. Hefnawy
712e60b621
finished Service class tests
2016-05-18 13:27:59 +02:00
Philipp Muens
23d6c5e6c2
Add tests for not available command
2016-05-18 12:17:20 +02:00
Philipp Muens
6cce90aa76
Rearrange runCommand tests
...
So that they match the order they are printed on the command line.
2016-05-18 12:00:35 +02:00
Philipp Muens
50eff224a0
Enhance tests to cover runCommand functionality correctly
2016-05-18 11:56:43 +02:00
Philipp Muens
f74f565859
Add intelligent "before" and "after" hook keywording
...
The PluginManager will run the correct hook even if the capitalization is
wrong ("foo:beforeBar" will be executed as well as "foo:beforebar"). This
way users don't have to deal with the correct capitalization of function names
issue.
2016-05-18 11:10:18 +02:00
Philipp Muens
a3afcd51ab
Add support to load service plugins
2016-05-18 10:17:51 +02:00
Philipp Muens
4e2fb39c81
Rename PluginManagement to PluginManager
2016-05-18 10:01:38 +02:00
Philipp Muens
57f7e20d85
Add Promise support for return value of hook functions
2016-05-18 09:32:41 +02:00
Eslam A. Hefnawy
1fdcaf4763
implemented more Service methods and tests and updated populate function
2016-05-17 20:25:22 +02:00
Philipp Muens
7401ab2de7
Add PluginManagement class
...
Add basic functionality for the PluginManagement class.
Refs #1118 and #1116 .
2016-05-17 20:08:24 +02:00
Eslam A. Hefnawy
c7054784a2
basic service and config working
2016-05-17 17:53:27 +02:00
Philipp Muens
7d033e580a
Fix Serverless class tests
2016-05-17 08:43:55 +02:00
Eslam A. Hefnawy
0338119a46
further cleaning of new plugin system
2016-05-17 08:43:55 +02:00
Eslam A. Hefnawy
8f6364b250
basic new plugin system
2016-05-17 08:43:55 +02:00
Philipp Muens
e39f186932
Refactor Utils tests and split them up to be independent units
2016-05-14 15:20:23 +02:00
Philipp Muens
2e5736f5b6
Refactor YamlParser class
2016-05-14 10:19:31 +02:00
Philipp Muens
9c3de2afef
Refactor Utils class tests and add YamlParser class
2016-05-14 09:39:44 +02:00
Eslam A. Hefnawy
f1de12e780
removed comment
2016-05-13 18:55:41 +07:00
Eslam A. Hefnawy
674404aef9
added yaml parser
2016-05-13 16:55:34 +07:00
Philipp Muens
7e60d9e6e2
Refactor Plugin class and Plugin tests
2016-05-13 08:15:39 +02:00
Philipp Muens
ce3b2f06ec
Move necessary mocking out of before hooks
2016-05-12 18:53:18 +02:00
Philipp Muens
a28b6b94fd
Add tests for registerActions and registerHooks
2016-05-12 16:08:10 +02:00
Philipp Muens
0c549d07d8
Refactor Plugin class tests and add post hook tests
2016-05-12 16:01:34 +02:00
Philipp Muens
4670189a6d
Add additional Plugin class test
2016-05-12 15:25:05 +02:00
Philipp Muens
186220c399
Fix typo in it block
2016-05-12 14:11:45 +02:00
Philipp Muens
be65154b2f
Rewrite Plugin class tests
...
Add general test and tests for actions and hooks.
2016-05-12 12:22:26 +02:00
Philipp Muens
091b4905da
Update Plugin class tests
...
Update tests to add better tests if the promises resolve.
2016-05-12 05:12:49 +02:00
Philipp Muens
f2e6ebc852
Start adding tests for Plugin class
2016-05-11 18:44:21 +02:00
Philipp Muens
7166872648
Refactor describe of Utils tests
...
So that it reads better.
2016-05-11 16:57:29 +02:00
Philipp Muens
da11c08e79
Add additional test for Utils class
2016-05-11 16:37:40 +02:00
Eslam A. Hefnawy
39b61f04e0
added utils test file
2016-05-11 19:23:10 +07:00
Eslam A. Hefnawy
28ab0b8905
fix tests
2016-04-29 18:05:00 +07:00
Egor Kislitsyn
c7362fd4b7
fixes ProjectInstall test
2016-04-11 18:05:08 +07:00
Egor Kislitsyn
6ed7ee5b70
Fixes ProviderAws tests
2016-04-11 16:30:25 +07:00
Erik Erikson
1abaf409cf
Merge remote-tracking branch 'upstream/master' into ProviderAws-credential-loading-tests
2016-04-07 08:58:47 -07:00
Ryan Pendergast
b421bd692b
remove wrench
...
Fixing https://github.com/serverless/serverless/issues/952
2016-04-06 09:10:30 -05:00
Erik Erikson
b5fbcb4250
add region to set:
...
'eu-central-1', // Frankfurt
2016-04-04 09:30:17 -07:00
Erik Erikson
214823c642
Add tests for credential loading by ProviderAws.
...
Add those tests to the "all tests" script.
2016-04-01 11:54:06 -07:00
ac360
84c2e1835b
version bump
2016-04-01 07:42:14 -07:00
Eslam A. Hefnawy
da7cdd41b6
fixed provider init
2016-04-01 10:10:22 +07:00
Eslam A. Hefnawy
e38311cf87
FS Extra: Exclude function now returns false if excluding
2016-03-31 10:52:09 +07:00
Eslam A. Hefnawy
a50e9361b7
replaced wrench with fs extra
2016-03-31 03:12:35 +07:00
ac360
2159533ba3
Tests: comment out project install
2016-03-22 09:37:35 -07:00
Austen Collins
9320a12ef4
EndpointRemove: Fix endpoint name
2016-03-21 18:21:19 -07:00
Austen Collins
a58bc3a5cf
Tests: fix function deploy test
2016-03-18 10:57:02 -07:00
ac360
2e2250d719
Plugin template: refactor to work with v0.5 changes WIP
2016-03-18 02:43:46 -07:00
ac360
2b44964e28
Plugin: fix getName() method
2016-03-18 01:33:34 -07:00
ac360
1d43cc0a32
Region: remove serverless instance fixing saving of variables
2016-03-17 23:22:18 -07:00
ac360
adeb2f3d07
utils: remove persistent request and rely on AWS SDK's new rety logic
2016-03-17 23:06:08 -07:00
Egor Kislitsyn
2f0b0afddf
fixes tests/actions/FunctionRun.js
2016-03-16 13:40:13 +07:00