Commit graph

646 commits

Author SHA1 Message Date
Claudio Zizza 9711908063 test added for VersionCommand 2015-03-11 21:47:30 +01:00
Claudio Zizza ebc90d0b2a namespace fix for BuiltIn 2015-03-11 21:47:30 +01:00
Claudio Zizza c40eb59219 constant usage removed in VersionCommandTest 2015-03-11 21:47:30 +01:00
Claudio Zizza aff9d2f32b setting constant in phpunit config 2015-03-11 21:47:30 +01:00
Claudio Zizza 67960ba3f4 test added for VersionCommand 2015-03-11 21:47:30 +01:00
Claudio Zizza 247e9793cf Merge branch 'version-command-test' of github.com:claudioflagbit/Magallanes into version-command-test 2015-03-11 21:46:18 +01:00
Claudio Zizza 30cecd0965 namespace fix for BuiltIn 2015-03-11 21:45:57 +01:00
Claudio Zizza 17b62084cd constant usage removed in VersionCommandTest 2015-03-11 21:45:57 +01:00
Claudio Zizza 74bb9ad5f7 setting constant in phpunit config 2015-03-11 21:45:57 +01:00
Claudio Zizza 008ef980e0 test added for VersionCommand 2015-03-11 21:45:57 +01:00
Claudio Zizza 949484883c Merge branch 'task-factory-test' of github.com:claudioflagbit/Magallanes into task-factory-test 2015-03-11 21:42:49 +01:00
Claudio Zizza 00ba38aea2 dummy classes dependency removed from task factory unittests 2015-03-11 21:41:40 +01:00
Claudio Zizza 673acac083 Dummy classes removed 2015-03-11 21:41:40 +01:00
Claudio Zizza 4c4d76bd2d test using optional parameters 2015-03-11 21:41:40 +01:00
Claudio Zizza 57fe5b6d52 exception text adapted to renamed class 2015-03-11 21:41:40 +01:00
Claudio Zizza 1acffae330 minor phpdoc fix, test string fixed for unknown task class 2015-03-11 21:41:40 +01:00
Claudio Zizza 2c27e2c46d unittests for task factory and dummy task classes for tests created 2015-03-11 21:41:40 +01:00
Kuba Turek 0406c7de8a Merge pull request #197 from edpauto/command-tests
Add commands tests
2015-03-09 18:24:35 +01: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
Kuba Turek 77f110f192 Merge pull request #204 from edpauto/strict-host-key-checking-fix
Add UserKnownHostsFile and StrictHostKeyChecking options to scp command
2015-03-08 19:00:39 +01:00