Commit Graph
84 Commits
Author SHA1 Message Date
Jakub Turek 3547c03cef Fix array syntax for PHP 5.3 compatibility 2015-05-29 19:57:57 +02:00
Jakub Turek 9bb17413d2 Fix code for PHP 5.3 2015-05-19 17:20:15 +02:00
Jakub Turek b9cf2d1058 Fix 'covers' annotations 2015-05-16 22:20:20 +02:00
Jakub Turek 8a5f0ee23e Fix conflicts after merge 2015-05-16 20:23:48 +02:00
Jakub Turek 5db9905ed4 Add sample config for Magallanes' built-in commands 2015-05-16 14:06:19 +02:00
Jakub Turek c49d36a91a Fix coverage annotations 2015-05-16 14:06:19 +02:00
Jakub Turek 48fbefa619 Correct syntax for arrays 2015-05-16 14:06:19 +02:00
Jakub Turek fb236c1bb3 Enable running help command in Console 2015-05-16 14:06:19 +02:00
Jakub Turek 342a468214 Add info about no help information for the command 2015-05-16 14:04:43 +02:00
Jakub Turek e4bab08d3f Add some PHPDoc notes to AbstractCommand 2015-05-16 14:04:43 +02:00
Jakub Turek 08a93389c4 Convert arrays to traditional syntax 2015-05-16 14:04:43 +02:00
Jakub Turek 4e18ae1f8c Add command name as an option 2015-05-16 14:04:43 +02:00
Jakub Turek 94d301f66f Add console colours to command info output 2015-05-16 14:04:43 +02:00
Jakub Turek 4c519dd3bc Add command help option 2015-05-16 14:04:43 +02:00
Jakub Turek 5bc6a0d1cd Merge remote-tracking branch 'upstream/master' into develop 2015-04-27 17:19:26 +02:00
Jakub Turek c690ea3efe Change scope of getGetterName and getSetterName methods 2015-03-09 08:16:05 +01:00
Jakub Turek 3f02ebcfe4 Add more restrictly tests for constructor 2015-03-08 21:22:12 +01:00
Jakub Turek e7c0b87ccd Move testing setters and getters to BaseTest 2015-03-08 21:21:49 +01:00
Jakub Turek c6e0d6762c Merge run test scenarios in UnlockCommandTests
Expectations and setting properties should be in dataProvider
2015-03-08 21:21:49 +01:00
Jakub Turek 937355ce8b Change assignment assertion in accessors' tests to more restrict 2015-03-08 21:21:49 +01:00
Jakub Turek 477705f4be Change autoloading to dev for tests classes 2015-03-08 21:21:49 +01:00
Jakub Turek 3b326227ae Remove setter from CompileCommand
Also, let the Compiler be constructed with DI or by itself
2015-03-08 21:21:49 +01:00
Jakub Turek 5e51b79857 Resolve conflicts on composer.lock 2015-03-08 21:21:49 +01:00
Jakub Turek a91060a16f General tests cleanup 2015-03-08 21:21:49 +01:00
Jakub Turek 3792f5fb8c Fix code style in UnlockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek cde8263d06 Add UnlockCommand tests 2015-03-08 21:21:49 +01:00
Jakub Turek 04b270356a Reset fields in LockCommandTests for better reliability 2015-03-08 21:21:49 +01:00
Jakub Turek 0bfe649aa5 Fix code style for LockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek b21b5f4c5e Add tests for LockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek c06a9c7cf1 Fix code style in CompileCommand
according to PSR2 coding rules
2015-03-08 21:21:49 +01:00
Jakub Turek 5602bf83fe Add CompileCommand tests 2015-03-08 21:21:49 +01:00
Jakub Turek ee8bb3c2f9 Move "setUpConsoleStatics" into the BaseClass 2015-03-08 21:21:48 +01:00
Jakub Turek d58e89c41d Set compiler by setter for better testability 2015-03-08 21:21:48 +01:00
Jakub Turek e9ec99f318 Add exit code assertions in ListCommandTest 2015-03-08 21:21:48 +01:00
Jakub Turek 881f0b2d87 Fix syntax error in ListCommand::run 2015-03-08 21:21:48 +01:00
Jakub Turek 5944015b50 ListCommandTests refactor 2015-03-08 21:21:48 +01:00
Jakub Turek ad6c8b24ac Add ListCommand tests 2015-03-08 21:21:48 +01:00
Jakub Turek b3587935fd Add malkusch\phpmock to mock PHP built-in functions 2015-03-08 21:21:48 +01:00
Jakub Turek cf89e24106 Add PHPDoc for BaseTest command 2015-03-08 21:21:48 +01:00
Jakub Turek e35a8a7f3a Apply BaseTest as parent of AbstractCommandTest class 2015-03-08 21:21:48 +01:00
Jakub Turek d8d90cb2ec Add TestHelper\BaseTest with useful test methods 2015-03-08 21:21:48 +01:00
Jakub Turek 10b8d7982e Update autoloading for MageTest namespace 2015-03-08 21:21:48 +01:00
Jakub Turek b7dbae8ff2 Abstract command tests 2015-03-08 21:21:48 +01:00
Jakub Turek cb965a2dd9 Bump up version in bootstrap file 2015-03-08 19:28:28 +01:00
Jakub Turek ffbb1c4c34 Merge remote-tracking branch 'upstream/master' into develop 2015-03-08 19:27:48 +01:00
Jakub Turek 20b97e01f2 Update readme file with Travis and Coveralls badges 2015-03-08 19:10:01 +01:00
Jakub Turek 5a1f2502d2 [#202] Remove inconsistency in ssh options
Add UserKnownHostsFile and StrictHostKeyChecking to scp command in TarGz strategy.
2015-03-08 13:11:05 +01:00
Jakub Turek 00edf87862 Merge remote-tracking branch 'upstream/master' into develop 2015-02-21 13:05:32 +01:00
Jakub Turek 03500ee7e7 Update README.md with the newest version 2015-02-21 13:03:39 +01:00
Jakub Turek 09682a48cd Update composer.lock after merging master to develop 2015-02-19 20:42:09 +01:00
Jakub Turek 4ae4965856 Add composer-self update to travis.yml 2015-02-19 20:39:49 +01:00
Jakub Turek a4c42479f5 Adapt travis config to run coveralls 2015-02-19 20:39:49 +01:00
Jakub Turek b3f29c7920 Coveralls configuration 2015-02-19 20:39:49 +01:00
Jakub Turek a5f62defc2 Add php-coveralls package 2015-02-19 20:39:49 +01:00
Jakub Turek 013ff021b8 Remove --dev option for composer in .travis.yml 2015-02-19 20:36:19 +01:00
Jakub Turek a9c4242675 Update composer.lock
Composer autoloading update
2015-02-19 20:31:35 +01:00
Jakub Turek c64364ce60 Merge remote-tracking branch 'upstream/master' into develop 2015-02-19 20:29:59 +01:00
Jakub Turek 5207b29958 Remove "covers" annotations for static methods 2015-02-17 21:22:07 +01:00
Kuba Turek 24b893bd7c Fix remote deployment path for GitRebaseTask 2015-02-06 20:50:07 +01:00
Kuba Turek 8752790b3f [#185] Create release directory for GitRebase strategy if releases are enabled 2015-02-06 20:39:23 +01:00
Kuba Turek ca6756a6ad Add some notes about coverage annotations 2015-02-02 18:38:32 +01:00
Kuba Turek 327625bad7 [#183] Change test's description property visibility to private 2015-01-27 19:47:08 +01:00
Kuba Turek 9d9e5e2bea Update composer.lock due to outer changes 2015-01-24 21:50:31 +01:00
Kuba Turek b00509cf8e Add some colors to phpunit output! :) 2015-01-24 17:08:51 +01:00
Kuba Turek 8694805eba Move colour config parameter to class property 2015-01-24 17:08:51 +01:00
Kuba Turek 93249ce5e5 Add coverage annotations 2015-01-24 17:08:51 +01:00
Kuba Turek 86f25b2de6 Add 'with' to config class method expectations 2015-01-24 17:08:51 +01:00
Kuba Turek dae179acad Add vendor's bins to bin directory 2015-01-24 17:08:51 +01:00
Kuba Turek 731169595c Add some notes about commit messages 2015-01-23 19:53:08 +01:00
Kuba Turek 4673d26670 [#183] Add some instructions about code coverage 2015-01-23 19:40:23 +01:00
Kuba Turek acd1891c66 Add shorten version for env.variables in task config 2015-01-18 20:10:26 +01:00
Kuba Turek d7db7cb66d Add some usage examples 2015-01-18 14:17:26 +01:00
Kuba Turek e4ba19679a Prepend environment variables to command 2015-01-17 23:34:47 +01:00
Kuba Turek 6b207eb480 Obtain environment variables 2015-01-17 23:29:12 +01:00
Kuba Turek 257b7ab03e Correct typo 2015-01-17 13:31:51 +01:00
Kuba Turek 27bc2b7de0 Add contribution guidelines 2015-01-16 19:36:44 +01:00
Kuba Turek 9eb61d1d4b Write down some example of verbose usage option 2014-11-11 20:41:02 +01:00
Kuba Turek d63d105471 Add ability to set 'verbose_logging' for environment 2014-11-11 20:38:26 +01:00
Kuba Turek 0734c7be0a Check if verbose logging is enabled 2014-11-11 20:34:50 +01:00
Kuba Turek 654753b70f Avoid duplicating output when verbose option is turned on 2014-11-11 20:29:46 +01:00
Kuba Turek 67e00bca59 Add verbose logging state variable 2014-11-11 20:27:33 +01:00
Kuba Turek 575632d62b Enable configurable verbose logging 2014-11-11 20:18:27 +01:00
Kuba Turek 0375a80dcf Fix exit code to 1 due to php exit code that cannot be greater than 254 2014-10-10 21:20:21 +02:00
Kuba Turek dfbe67622d Throw an error in case when command returns code other than 0 2014-10-10 21:14:58 +02:00