Meritoo
|
a459bfe1ce
|
Use larger collection while testing the BaseCollection class
|
2021-04-11 22:22:36 +02:00 |
|
Meritoo
|
1eb86cf102
|
[BaseCollection] Fix incorrectly working limit() method
|
2021-04-11 22:16:34 +02:00 |
|
Meritoo
|
95b0cf6cab
|
Create clear() & limit() methods in BaseCollection class
|
2021-04-04 23:09:13 +02:00 |
|
Meritoo
|
118fa64772
|
Increase code coverage of the BaseCollection class
|
2021-04-04 23:06:36 +02:00 |
|
Meritoo
|
a4d24a788b
|
Reformat code
|
2021-03-29 21:41:54 +02:00 |
|
Meritoo
|
4f8c355d1b
|
Create and implement CollectionInterface as contract of all collections (e.g. based on the BaseCollection class)
|
2021-03-29 21:41:54 +02:00 |
|
Meritoo
|
8fec0db05f
|
Increase Mutation Score Indicator (MSI) by creating stronger tests of BaseCollection class
|
2020-10-24 17:31:25 +02:00 |
|
Meritoo
|
872259e63d
|
[BaseCollection] Treat the null index as "no index" only while adding new element, iow. do not treat empty string as "no index" behaviour
|
2019-09-19 12:33:03 +02:00 |
|
Meritoo
|
a7c39b26ba
|
Rename Collection class to BaseCollection. Add BaseCollection::isValidType() method to validate type of element before add it to collection. Add BaseCollection ::prepareElements() method to allow preparation of elements in custom way.
|
2019-09-18 14:51:09 +02:00 |
|
Meritoo
|
16cdd1cd60
|
Extract BaseTestCaseTrait::assertMethodVisibility() & BaseTestCaseTrait::assertMethodArgumentsCount() methods (from BaseTestCaseTrait::assertMethodVisibilityAndArguments() method)
|
2019-09-05 21:57:59 +02:00 |
|
Meritoo
|
3b81d0d932
|
Do not require name of class by BaseTestCaseTrait::assertMethodVisibilityAndArguments() method
|
2019-06-17 08:43:40 +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
|
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
|
a13a629408
|
PHP Coding Standards Fixer > fix coding standard
|
2019-04-06 08:00:01 +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
|
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
|
eade6a25ad
|
Collection > the getByIndex() method > returns element with given index
|
2019-03-16 19:58:02 +01:00 |
|
Meritoo
|
5ebde80646
|
Tests > use "Meritoo\Test\Common" namespace (instead of "Meritoo\Common\Test")
|
2019-03-04 19:35:42 +01:00 |
|
Meritoo
|
c175fcd126
|
Minor refactoring
|
2019-03-04 19:22:07 +01:00 |
|
Meritoo
|
64499b49d3
|
Update @author and @copyright in classes' descriptions
|
2018-07-01 21:07:47 +02:00 |
|
Meritoo
|
5c9436e4e2
|
Collection > add() method > treat empty string as not provided index (same as null)
|
2018-06-22 08:10:06 +02:00 |
|
Meritoo
|
559466c0ce
|
composer.json - move tests-related classes to "autoload-dev" section (used for development purposes only and avoid polluting the autoloader in production)
|
2017-09-29 09:19:03 +02:00 |
|