Commit graph

58 commits

Author SHA1 Message Date
drAlberT f6d969e99b FIX PSR2 2015-07-02 09:45:42 +02:00
Jakub Turek b9cf2d1058 Fix 'covers' annotations 2015-05-16 22:20:20 +02:00
Jakub Turek c49d36a91a Fix coverage annotations 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 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
Kuba Turek 288d7304be Merge pull request #176 from claudioflagbit/task-factory-test
Task factory test
2015-03-24 20:27:11 +01:00
Claudio Zizza 7ffe04418c minor annotation fixes 2015-03-16 00:39:08 +01:00
Claudio Zizza 35aa80a82f fix for Instantiator coverage instead of uses annotation 2015-03-16 00:22:07 +01:00
Claudio Zizza 4c529e9e43 coverage annotations added 2015-03-16 00:15:13 +01:00
Claudio Zizza 0d57e080e4 using BaseTest class for VersionCommand test 2015-03-15 23:52:58 +01:00
Claudio Zizza 472e5b05bf namespace fix for BuiltIn 2015-03-11 21:47:30 +01:00
Claudio Zizza 2d81e6c7ec constant usage removed in VersionCommandTest 2015-03-11 21:47:30 +01:00
Claudio Zizza 06246e380c setting constant in phpunit config 2015-03-11 21:47:30 +01:00
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 00ba38aea2 dummy classes dependency removed from task factory unittests 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
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 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 a91060a16f General tests cleanup 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 b21b5f4c5e Add tests for LockCommand 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 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 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 b7dbae8ff2 Abstract command tests 2015-03-08 21:21:48 +01:00
Jakub Turek 5207b29958 Remove "covers" annotations for static methods 2015-02-17 21:22:07 +01:00
Claudio Zizza 8bd7f6c56c phpunit annotations added 2015-02-11 21:21:19 +01:00
Claudio Zizza 1e912a367a dummy classes replaced with mocks for Command Factory tests 2015-02-09 22:40:08 +01:00
Claudio Zizza 27423f1f3e Merge branch 'develop' into command-factory 2015-02-09 20:32:27 +01:00