Dan Cryer
1385379f1a
Merge pull request #1021 from mrobinsonuk/cleanup/spelling-corrections
...
Corrected a number of minor spelling errors.
2015-10-13 15:14:44 +01:00
Dan Cryer
d8cbe68705
Merge pull request #992 from corpsee/feature-phpunit-fixes
...
Fixed TapParser parse fail
2015-10-13 15:03:09 +01:00
Mark Robinson
d2c512d94b
Corrected a number of minor spelling errors.
...
Originally observed that "successful" was misspelled "succesfull" on the build view page. While correcting that, a number of other spelling errors were also corrected.
2015-06-25 15:21:23 +01:00
Adirelle
ad29ba4cfd
Track and display the build progression, for each stages and plugins.
...
Translations for the build summary.
Closed #944
2015-05-28 11:39:35 +02:00
corpsee
1c864cebed
Fixed TapParser parse fail with valid data + added tests
2015-05-23 15:40:49 +06:00
Adirelle
5cd29ca7fc
Allow to specify a mail template ('short' or 'long') in phpci.yml.
...
Email plugin: checks if the custom template exists before trying to use it.
Closed #933
2015-04-28 14:09:23 +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
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
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