Commit graph

77 commits

Author SHA1 Message Date
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
Dan Cryer 0fc18503b2 Fixing install command tests. 2015-02-16 11:54:52 +00:00
Adirelle 353c4cafdb Remove duplicates from the list of recipients in the email plugin.
Closes #731
2015-02-03 11:58:18 +00:00
Adirelle cd4ff6c4ea Localisation support for dates throughout the front-end using moment.js.
Closes #734
Closes #732
2015-02-03 11:53:12 +00:00
Dan Cryer 9351e889e7 Fixing failing test 2015-02-03 11:20:46 +00:00
Dan Cryer 9aadcce4ca Fixing tests bootstrap 2015-02-03 10:43:44 +00:00
Sebastiaan van Stijn 9387bde61b Fix undefined variable '$config' in /Tests/bootstrap.php
When no config-file was found, no instance of Config
was created as well, resulting in:

PHP Notice:  Undefined variable: config in /Tests/bootstrap.php on line 41

This changes /Tests/bootstrap.php to always create an
instance of b8\Config(), even if no file was found.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Fixes #758
2015-02-03 10:30:51 +00:00
Dan Cryer a4e6134fde Fixing bootstrap 2014-12-08 15:09:57 +00:00
Dan Cryer c89d289408 Fixing tests 2014-12-08 15:04:44 +00:00
Marco Vito Moscaritolo 207411d5fc Adding non-interactive installation mode.
Closes #641
2014-12-03 10:52:14 +00:00
Wanderson e4c40c76af Adding Phar archive plugin.
Closes #659
Closes #106
2014-12-01 21:09:13 +00:00
Marco Vito Moscaritolo 0357103013 Removing PHPCI's custom autoloader in favour of Composer autoloader.
Closes #661
2014-12-01 17:20:54 +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 5c600f861e Switching project access information to use JSON instead of serialization, fixes #493 2014-07-30 15:13:50 +01:00
Dan Cryer d9045d54a7 Adding some tests for MailerFactory to ensure it works as expected with a provided configuration. Hopefully will help in debugging #523 2014-07-30 11:58:10 +01:00
Dan Cryer 23f7978cba Adding some tests for the UserService class. 2014-07-23 16:11:47 +01:00
Dan Cryer 3fd1bc2a36 More service layer functionality, builds now. Also some extra tests for projects and build models. 2014-07-14 16:02:36 +01:00
Dan Cryer 9a51a1458e Fixing some issues with project default branches, adding tests for that too 2014-07-14 14:59:04 +01:00
Dan Cryer 0a0c911356 More work on ProjectService and its tests 2014-07-14 14:37:51 +01:00
Dan Cryer af4cdd90b6 Initial work on adding a Services layer to PHPCI, for better testability. Starting with Projects 2014-07-14 14:01:29 +01:00
Corpsee 7c762c6042 Fixed annotation 2014-05-12 00:44:13 +07:00
Corpsee aa83103e87 Repaired tests for CommandExecutor 2014-05-12 00:43:41 +07:00
Corpsee a42dc67fad Fixed duplicate methods of CommandExecutor helper: executeCommand and buildAndExecuteCommand 2014-05-09 14:25:24 +07: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
Dan Cryer 69ea47874f Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01: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
steve.brazier d9ff36ddb4 Merge remote-tracking branch 'corpsee/master' 2014-03-10 09:48:50 +00:00
Corpsee 76c9676be3 Added phpunit config/bootstrap files for autostart all tests 2014-03-09 01:44:54 +07: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.brazier b60e278cf9 psr2 tidy up of logging code. 2014-02-27 14:23:51 +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 e32635c474 add very basic tests for BuildInterpolator 2013-12-17 15:35:18 +00:00
meadsteve 0c12f0b98d fix monolog name spacing in tests. 2013-12-17 15:05:08 +00:00
meadsteve 30bd11f0dd fix testing namespace 2013-12-17 15:03:48 +00:00
meadsteve 051f51a222 add tests for BuildLogger 2013-12-14 11:07:04 +00:00
meadsteve 8652e579f5 move logging test 2013-12-14 10:41:21 +00:00
meadsteve 356a2293a1 move logging related classes to appropriate namespace. 2013-12-13 16:10:54 +00:00
meadsteve f05ffb3081 update executor test 2013-12-13 16:07:11 +00:00
meadsteve 1bc2117c69 extracted build logging logic from the Builder class. 2013-12-13 15:57:56 +00:00
meadsteve 3a3cc98f86 rename CommandExecutor::executeCommand() so that it's not confused with the Builder::executeCommand() 2013-12-13 14:41:02 +00:00
steve.brazier 8d8714746c move findBinary from Builder to CommandExecutor. 2013-12-12 16:17:11 +00:00