Commit Graph

126 Commits

Author SHA1 Message Date
Meritoo
ded1a04900 Add test for the BaseTestCaseTrait trait 2019-09-06 11:58:40 +02:00
Meritoo
16cdd1cd60 Extract BaseTestCaseTrait::assertMethodVisibility() & BaseTestCaseTrait::assertMethodArgumentsCount() methods (from BaseTestCaseTrait::assertMethodVisibilityAndArguments() method) 2019-09-05 21:57:59 +02:00
Meritoo
f7a8da0550 Add Uri::buildUrl() method
Builds url with given root url and parts of url
2019-08-28 16:01:27 +02:00
Meritoo
891411e231 Add Arrays::containsEmptyStringsOnly() method
Returns information if given array contains an empty strings only
2019-08-28 15:51:03 +02:00
Meritoo
e704dacabd Add Regex::clearBeginningSlash() and Regex::clearEndingSlash() methods (that remove slash from the beginning and the end of given string) 2019-08-27 20:26:31 +02:00
Meritoo
bc20645cba Increase Mutation Score Indicator (MSI) by removing "src/Type/DatePeriod.php:131 [M] LogicalOr" mutant 2019-08-11 13:25:28 +02:00
Meritoo
21bfadf5d6 Increase Mutation Score Indicator (MSI) by removing "src/Type/DatePeriod.php:120 [M] TrueValue" mutant 2019-08-11 12:56:08 +02:00
Meritoo
fe6ec278e3 Minor refactoring 2019-08-11 12:30:50 +02:00
Meritoo
462625caff Missing test of Reflection::getConstants() method 2019-08-11 12:24:55 +02:00
Meritoo
a86a10c51e Increase Mutation Score Indicator (MSI) by removing "src/Exception/Reflection/CannotResolveClassNameException.php:29 [M] TrueValue" mutant 2019-08-10 21:32:40 +02:00
Meritoo
c5a68b54af Fix "Argument 1 of Meritoo\\Common\\Utilities\\Date::getdayofweek expects int, string|false provided" bug pointed by Psalm 2019-06-20 21:31:35 +02:00
Meritoo
6efbf940a3 Fix "Found a redundant condition when evaluating docblock-defined type $composerJsonPath and trying to reconcile type 'string' to string" bug pointed by Psalm 2019-06-20 20:05:56 +02:00
Meritoo
5678b5b22a Fix "Found a contradiction when evaluating $fullBundleName and trying to reconcile type 'string' to !string" bug pointed by Psalm 2019-06-20 18:58:20 +02:00
Meritoo
3b81d0d932 Do not require name of class by BaseTestCaseTrait::assertMethodVisibilityAndArguments() method 2019-06-17 08:43:40 +02:00
Meritoo
e002adc162 PHP Coding Standards Fixer > fix coding standard 2019-05-30 21:55:09 +02:00
Meritoo
98d0fed61d Refactoring 2019-05-05 23:06:18 +02:00
Meritoo
a6b2704c66 BaseType::isCorrectType() method > make static 2019-05-05 23:05:42 +02:00
Meritoo
dd5ac0f7e6 Fix code pointed by Psalm 2019-05-05 09:49:03 +02:00
Meritoo
c7c96daaaf PHP Coding Standards Fixer > fix coding standard 2019-04-15 21:23:49 +02:00
Meritoo
b166b8b805 PHP Coding Standards Fixer > fix coding standard 2019-04-13 21:47:49 +02:00
Meritoo
fa370be08a Tests > Reflection > getPropertyValues() method > make stronger verification of the dot-separated properties (get values of the chain) 2019-04-13 19:03:23 +02:00
Meritoo
a56b325307 Minor refactoring 2019-04-13 18:33:38 +02:00
Meritoo
eb8fa110ad Reflection > getPropertyValue() method > look for the property in parent classes 2019-04-13 18:29:27 +02:00
Meritoo
2bbd0a4ef3 PHPUnit > increase code coverage 2019-04-10 09:09:44 +02:00
Meritoo
e66cbd54e2 Template with placeholders > verification of placeholders without values > make stronger and point out which are missing 2019-04-10 08:57:33 +02:00
Meritoo
e05bc2302d PHPUnit > increase code coverage 2019-04-06 08:47:26 +02:00
Meritoo
a13a629408 PHP Coding Standards Fixer > fix coding standard 2019-04-06 08:00:01 +02:00
Meritoo
d1c1d48473 Infection (Mutation Testing Framework) > fix bugs while running (generate proper code coverage, bugs while running tests randomly) 2019-04-05 20:42:42 +02:00
Meritoo
92e607a3f0 PHPUnit > execute tests in random order 2019-04-03 15:06:05 +02:00
Meritoo
faf1da6134 Collection/storage of templates 2019-04-02 21:08:11 +02:00
Meritoo
0b74f8da6f Template with placeholders that may be filled by real data 2019-04-02 21:03:03 +02:00
Meritoo
1b4577cc8a Fix coding standards (using PHP Coding Standards Fixer) 2019-04-02 12:03:53 +02:00
Meritoo
95a81ab322 Tests > fix "This test did not perform any assertions" bug > make compatible with PHPUnit 8.0 (and PHP 7.2+) 2019-04-02 10:40:51 +02:00
Meritoo
8a27cd94ef Tests > fix "assertArraySubset() is deprecated and will be removed in PHPUnit 9" bug > make compatible with PHPUnit 8.0 (and PHP 7.2+) 2019-04-02 10:15:57 +02:00
Meritoo
ce37db5f33 Tests > fix "Call to undefined method getMock()" bug > make compatible with PHPUnit 8.0 (and PHP 7.2+) 2019-04-02 09:03:11 +02:00
Meritoo
b68dd78b06 Tests > fix "Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead." bug > make compatible with PHPUnit 8.0 (and PHP 7.2+) 2019-04-02 08:39:50 +02:00
Meritoo
c89b6da0db Tests > fix "Call to undefined method setExpectedException()" bug > make compatible with PHPUnit 8.0 (and PHP 7.2+) 2019-04-02 08:31:24 +02:00
Meritoo
8b5a530bbc Tests > setUp() and tearDown() methods > make compatible with PHPUnit 8.0 (and PHP 7.2+) 2019-04-02 08:27:20 +02:00
Meritoo
56b058ca1d Size, e.g. of image 2019-03-24 22:15:54 +01:00
Meritoo
eade6a25ad Collection > the getByIndex() method > returns element with given index 2019-03-16 19:58:02 +01:00
Meritoo
a021870ebd Minor refactoring 2019-03-05 10:18:45 +01:00
Meritoo
d88ead92fe Tests > use @dataProvider 2019-03-05 10:18:35 +01:00
Meritoo
5ebde80646 Tests > use "Meritoo\Test\Common" namespace (instead of "Meritoo\Common\Test") 2019-03-04 19:35:42 +01:00
Meritoo
fe40d9caee ValueObject > Human > represents a human 2019-03-04 19:25:38 +01:00
Meritoo
ba6c185ed9 Tests > missing tests 2019-03-04 19:24:23 +01:00
Meritoo
c175fcd126 Minor refactoring 2019-03-04 19:22:07 +01:00
Meritoo
924e492e11 Arrays > refactoring & more tests 2019-02-24 23:21:55 +01:00
Meritoo
3a38c09ce2 ValueObject > Company > represents a company 2019-02-22 20:38:13 +01:00
Meritoo
07a04d86f0 ValueObject > BankAccount > represents bank account 2019-02-22 20:37:16 +01:00
Meritoo
0c7e27b884 ValueObject > Address > represents address of company, institution, user etc. 2019-02-22 20:35:43 +01:00