Commit graph

73 commits

Author SHA1 Message Date
Marco Vito Moscaritolo
9cc7a0477a Fixed test that use genreated mail to see information. 2015-02-16 14:55:40 +01:00
Marco Vito Moscaritolo
687c4edc8d Remove unused code. 2015-02-16 14:54:41 +01:00
Marco Vito Moscaritolo
2f4da4aa88 Fixed CS. 2015-02-16 14:54:41 +01:00
Marco Vito Moscaritolo
57a2e92ef5 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
0e8ea5fe18 Added project mocking to allow using mail template on successfull build. 2015-02-16 14:52:45 +01:00
Marco Vito Moscaritolo
76086627e9 Remove unrequire parameters on constructur and fixed error on phpdoc. 2015-02-16 14:51:18 +01:00
Dan Cryer
c2244c7835 Fixing install command tests. 2015-02-16 11:54:52 +00:00
Adirelle
f1314a382d Remove duplicates from the list of recipients in the email plugin.
Closes #731
2015-02-03 11:58:18 +00:00
Adirelle
3dd95c14b9 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
5ea9a67724 Fixing failing test 2015-02-03 11:20:46 +00:00
Dan Cryer
ba09b7c773 Fixing tests 2014-12-08 15:04:44 +00:00
Marco Vito Moscaritolo
52fcf8273c Adding non-interactive installation mode.
Closes #641
2014-12-03 10:52:14 +00:00
Wanderson
37d43e0e86 Adding Phar archive plugin.
Closes #659
Closes #106
2014-12-01 21:09:13 +00:00
Wanderson
297a04c82a Add support for skipped tests in TAP Parser.
Closes #624
See #611
2014-11-13 17:33:27 +00:00
Dan Cryer
2875badb0a Switching project access information to use JSON instead of serialization, fixes #493 2014-07-30 15:13:50 +01:00
Dan Cryer
a89f686372 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
6b8f008cfe Adding some tests for the UserService class. 2014-07-23 16:11:47 +01:00
Dan Cryer
4d2583e536 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
cb53ec9c6d Fixing some issues with project default branches, adding tests for that too 2014-07-14 14:59:04 +01:00
Dan Cryer
2bff0270cf More work on ProjectService and its tests 2014-07-14 14:37:51 +01:00
Dan Cryer
9a7743e8d3 Initial work on adding a Services layer to PHPCI, for better testability. Starting with Projects 2014-07-14 14:01:29 +01:00
Dmitry Khomutov
6a1732c5b7 Fixed annotation 2014-05-12 00:44:13 +07:00
Dmitry Khomutov
3fe7c18e09 Repaired tests for CommandExecutor 2014-05-12 00:43:41 +07:00
Dmitry Khomutov
49de515089 Fixed duplicate methods of CommandExecutor helper: executeCommand and buildAndExecuteCommand 2014-05-09 14:25:24 +07:00
Dan Cryer
e174d1aefe 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
4197c9e34d Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
steve.brazier
060a786303 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.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
steve.brazier
1307240622 add return value tests for CommandExecutor. 2013-12-12 16:04:07 +00:00
steve.brazier
7a5aa5814f add tests for CommandExecutor. 2013-12-12 14:37:47 +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