Commit graph

44 commits

Author SHA1 Message Date
Marco Vito Moscaritolo 2255767dc1 Fixed test that use genreated mail to see information. 2015-02-16 14:55:40 +01:00
Marco Vito Moscaritolo 74b0513dd5 Remove unused code. 2015-02-16 14:54:41 +01:00
Marco Vito Moscaritolo 2aff5ab896 Fixed CS. 2015-02-16 14:54:41 +01:00
Marco Vito Moscaritolo 64bd64e07b Added more test case to validate subject, body, status code and mails on messages. 2015-02-16 14:54:38 +01:00
Marco Vito Moscaritolo 33ca150efb Added project mocking to allow using mail template on successfull build. 2015-02-16 14:52:45 +01:00
Marco Vito Moscaritolo 501ca58729 Remove unrequire parameters on constructur and fixed error on phpdoc. 2015-02-16 14:51:18 +01:00
Adirelle 353c4cafdb Remove duplicates from the list of recipients in the email plugin.
Closes #731
2015-02-03 11:58:18 +00:00
Dan Cryer c89d289408 Fixing tests 2014-12-08 15:04:44 +00:00
Wanderson e4c40c76af Adding Phar archive plugin.
Closes #659
Closes #106
2014-12-01 21:09:13 +00:00
Wanderson 61d864e4f0 Add support for skipped tests in TAP Parser.
Closes #624
See #611
2014-11-13 17:33:27 +00:00
Dan Cryer 128bfb4a94 Temporarily removing the PHPUnit tests, as they can't be made to work with the current state of the plugin 2014-05-02 14:57:44 +00:00
steve.brazier cc71045e57 Merge remote-tracking branch 'origin/master' into feature/pluginfactoryconfig
Conflicts:
	PHPCI/Builder.php
	PHPCI/Plugin/Util/Factory.php
2014-03-25 14:13:45 +00:00
meadsteve 3c1cb07e97 Update test ExamplePluginConfg.php to match test. 2014-03-02 20:10:48 +00:00
meadsteve 6d4e49d07b Add code to allow configuration for the plugin factory to be stored on a per install basis. 2014-03-02 19:59:52 +00:00
Steve B 3370240242 Merge pull request #267 from meadsteve/plugin-discovery
RFC: Plugin discovery
2014-02-25 22:43:38 +00:00
meadsteve 06625513d2 update email tests now that cc can be specified. 2014-02-25 22:39:37 +00:00
meadsteve 28fc30682b add FilesPluginInformation class to retrieve plugins contained with a directory. 2014-02-25 20:52:19 +00:00
meadsteve 6b2d0aebf1 rename LoadedPluginInformation to ComposerPluginInformation. 2014-02-25 19:33:00 +00:00
meadsteve 1f42741623 Merge branch 'master' of https://github.com/Block8/PHPCI into plugin-discovery 2014-02-25 19:26:25 +00:00
meadsteve 71588cd8e1 add LoadedPluginInformation class to process composer's installed.json file and pull out information about phpci plugins. 2013-12-29 17:34:41 +00:00
meadsteve f05ffb3081 update executor test 2013-12-13 16:07:11 +00:00
steve.brazier 974aeeffdc Merge branch 'unit-testing' into plugin-builder 2013-12-06 15:18:37 +00:00
steve.brazier 52a908009d fix PhpUnit test caseing. 2013-12-06 15:17:17 +00:00
steve.brazier e1654ee4b6 add test for Executor::executePlugins 2013-12-06 13:14:19 +00:00
meadsteve 1ca8b9628c remove arguments from Executor test assertions that are not required. 2013-12-06 13:07:48 +00:00
steve.brazier 23d6238aa2 add tests for plugin executor logging 2013-12-06 13:04:27 +00:00
steve.brazier bad0737df1 add tests for Plugin Executor 2013-12-06 12:52:47 +00:00
Steve B aca6af3fec add test for non-function loader in plugin factory. 2013-11-28 14:12:50 +00:00
Steve B 9891a4be62 force plugin factory to only build plugins matching interface. 2013-11-28 14:05:26 +00:00
meadsteve 080784adc5 fix test expectations to be exact in phpunit 2013-11-25 21:48:21 +00:00
meadsteve a2c25d2d8f fix builder mocking 2013-11-25 21:30:10 +00:00
meadsteve 03a81a3283 fix whitespace. 2013-11-25 21:19:48 +00:00
meadsteve 9d1d2443a9 Move the mailer constructor logic out of the plugin and in to a factory class for reuse. 2013-11-17 21:26:38 +00:00
meadsteve 51f73458c8 allow swiftmailer object to be passed in to Email Plugin. 2013-11-17 17:50:06 +00:00
meadsteve e1d8239e8a Create factory for plugins that resources can be registered with. 2013-11-17 17:23:35 +00:00
meadsteve 637be4af63 added mocking for missing FindBinary command in phpunit tests 2013-11-03 11:48:01 +00:00
meadsteve 9a60c528dd mocked the missing build object for unit test for phpunit plugin. 2013-11-03 11:33:37 +00:00
meadsteve 84370038aa Added basic body and title for the email notifications. 2013-06-04 21:47:45 +01:00
meadsteve eaac43e0e8 Updating unit test to reflect that the test will fail without any addresses defined. 2013-06-04 20:13:15 +01:00
meadsteve d2c408f589 Updating the email plugin tests so that getSystemConfig is mocked correctly. 2013-06-01 13:31:15 +01:00
meadsteve f0a5ba50ca Filled out the Plugin\Email::sendEmail(). Pulls in the following settings from the phpci config under the heading email_settings:
smtp_address
smtp_port
smtp_username
smtp_password

and

from_address
2013-06-01 09:40:05 +01:00
meadsteve f76a2a75cc Empty Email plugin and test committed. 2013-05-31 12:56:35 +01:00
Dan Cryer 6094b7013c Add file-level docblock to every file. 2013-05-16 02:16:56 +01:00
meadsteve 2914e3a87d Added a unit test case for the PHPUnit plugin. It's not fully comprehensive but good to get these started. 2013-05-16 10:52:33 +01:00