Adirelle
f25b1d25dc
Let CommandExecutor::findBinary throw an exception when the binary is missing.
...
Close #910
2015-04-22 12:19:05 +02:00
Jérémy DECOOL
9261f24d25
Command to create a new build
...
Close #889
2015-04-22 12:00:38 +02:00
Adirelle
452a5ba97c
Enforce "en" lang in tests.
...
Some tests compare the result to english strings.
Do not test UnixCommandExecutor on Windows.
PharTest: explain why PHAR writing test are skipped.
InstallCommandTest: mock checkRequirements to allow the tests to run.
Run php_parallel_lint before all other tests.
Close #846
2015-04-22 11:49:26 +02:00
Adirelle
f3c1a98cf1
Detailed webhook responses.
...
Fixed docblocks.
Reworked WebhookController to enforce Json responses in ::handleAction.
Check the project type match the webhook.
When creating several builds, do not stop on first error.
Try to create every builds and report 'ok' if at least one succeeds.
CS fix.
Fixed Uses.
Fixed the types accepted by the git webhook.
Added some really basic test.
2015-04-09 13:09:03 +02:00
Adirelle
9d4116e3c9
Reworked TapParser to be compliant and more robust.
...
Added another test case from #571 .
Updated the output of TapParser::processTestLine.
Broke TapParser::parse down in simpler methods.
TapParser: ignore leading garbage and properly complain on missing TAP log.
TapParser: detect and report duplicated TAP log.
TapParser: got rid of the "test" and "suite" values.
They are only available with PHPUnit.
TapParser: append the message from yaml diagnostic to existing message.
Reworked the dispaly of test results.
PHPUnit plugin: pretty print test data.
2015-04-09 12:00:10 +02:00
Adirelle
d804438a87
Use sensiolabs/ansi-to-html to parse the build logs.
...
Added an AnsiConverter helper.
Use the AnsiConverter in the email and page templates that display the build log.
Use a dedicated stylesheet for the ANSI converter.
It can be customized.
It can be inlined in the notifications.
Do not use ProphecyTestCase when not needed.
2015-04-09 11:54:57 +02:00
Jon Gotlin
bf6ac530a6
Create admin command cleanup
2015-02-19 07:31:00 +01:00
Marco Vito Moscaritolo
2255767dc1
Fixed test that use genreated mail to see information.
2015-02-16 14:55:40 +01:00
Marco Vito Moscaritolo
885f947da8
Update loader config for test.
2015-02-16 14:55:17 +01:00
Marco Vito Moscaritolo
5b754fe07c
Fixed config path for tests.
2015-02-16 14:54:41 +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
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