Commit graph

19 commits

Author SHA1 Message Date
Adirelle f25b1d25dc Let CommandExecutor::findBinary throw an exception when the binary is missing.
Close #910
2015-04-22 12:19:05 +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 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
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 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
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 69ea47874f Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
meadsteve e32635c474 add very basic tests for BuildInterpolator 2013-12-17 15:35:18 +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 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
meadsteve ee9871e4a8 add tests to LoggerConfig for handler attaching. 2013-11-28 21:36:56 +00:00
meadsteve f1052443ab add basic type checking for LoggerConfig::GetFor 2013-11-28 21:17:01 +00:00