-
-
Notifications
You must be signed in to change notification settings - Fork 36
Add tests to kill escaped mutants (#529) #545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dbuhonov
wants to merge
55
commits into
yiisoft:master
Choose a base branch
from
dbuhonov:feature/529-mutant-part-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
27f1743
Fixed AbstractActiveRecord
dbuhonov aeecf63
Fixed AbstractActiveRecord.php:454
dbuhonov ec920b3
Add test ensuring new records do not execute updates during save
dbuhonov f0eaf4b
Add test for resetting populated relation via property setter
dbuhonov 3b89f33
Add test for handling models without a primary key
dbuhonov 39ad6de
Add test for linking via relation with a new record
dbuhonov 5de7e0c
Add test for unlinking array-valued property with delete in ActiveRecord
dbuhonov 4235f60
Add tests for intermediate relation population and reset conditions
dbuhonov 91babdc
Add new test cases for ActiveQuery and EventsTrait functionality
dbuhonov 5d7bc96
Add unit tests for edge cases and behavior refinements across multipl…
dbuhonov 0154804
Add tests for property handling in `MagicActiveRecordTest` and `Repos…
dbuhonov a2cca91
Wrap event class instantiations in parentheses to enhance readability…
dbuhonov c4e2b9a
Refactor tests to improve consistency and simplify assertions across …
dbuhonov 1d7e210
Add new tests for improving ActiveRecord and ActiveQuery behavior cus…
dbuhonov 9e400ec
Add comprehensive tests for `ArArrayHelper`, `ModelRelationFilter`, a…
dbuhonov 5f106e9
Add new test cases for ActiveQuery, ActiveRecord, traits, and event h…
dbuhonov 0517a01
Fix spacing in JSON array assertion in ActiveRecordTest
dbuhonov 91c4b35
Fixes inconsistent formatting in `ActiveRecordTest` assertions for JS…
dbuhonov 8daa965
Fixes inconsistent formatting in `ActiveRecordTest` assertions for JS…
dbuhonov 0258502
Add tests for single model relation population and `createRelationQue…
dbuhonov 8b0558c
Add tests for single model relation population and `createRelationQue…
dbuhonov 4abf941
Add test for table name and alias resolution with newline in alias
dbuhonov 5cb4347
Remove error handler for invoke calls and add test for missing bucket…
dbuhonov af44084
Add `CategoryWithNameRelationArrayAccess` stub and enhance `RelationP…
dbuhonov 58e9ed7
Add `OrderItemWithDeepViaProfile` test stub and related test
dbuhonov db1387b
Add test to ensure `joinWith` via relation avoids duplicating child W…
dbuhonov 3e4e335
Add test for RelationPopulator handling composite keys in arrays
dbuhonov bc72ed6
Add test to verify `joinWith` avoids duplicating child `where` condit…
dbuhonov cb145a2
Add test for ArArrayHelper to retrieve undeclared magic property
dbuhonov 0af6a91
Add test to validate rejection of malformed aliased relation names in…
dbuhonov 7b2c0e5
Add unit test for ArArrayHelper::getValueByPath default value on miss…
dbuhonov c56c26f
Update `infection.json.dist` to add ignored cases for specific mutators
dbuhonov 583f941
Replace outdated test `testUnlinkAllWithArrayValuedPropertyAndDelete`…
dbuhonov a66fcc6
Skip Oracle-specific tests due to lack of RETURNING clause support in…
dbuhonov 69331c0
Skip Oracle-specific tests due to lack of RETURNING clause support in…
dbuhonov 1903aaa
Simplify test setup by removing redundant `id` assignments and cleani…
dbuhonov 27b2a3e
Update tests to handle database-specific constraints and refactor eve…
dbuhonov e2a77f1
Update tests to handle database-specific constraints and refactor eve…
dbuhonov ab10e5a
Re-enable and update `testPropertyAccess` method in `ActiveRecordTest`
dbuhonov cee9d4a
Simplify infection.json.dist by removing mutator-specific ignore conf…
dbuhonov a476f7d
Adjust mutator configurations in `infection.json.dist` to improve mut…
dbuhonov 1887462
Add test for ModelRelationFilter handling array column conditions
dbuhonov 0e2ff77
Add tests for ModelRelationFilter with JSON and scalar column conditions
dbuhonov a110abf
Use `ReflectionMethod` without fully qualified namespace in `ActiveQu…
dbuhonov 1899548
Use `ReflectionMethod` without fully qualified namespace in `ActiveQu…
dbuhonov 8492865
Add stub classes to test ActiveQuery and ActiveRecord behavior
dbuhonov b1ab39a
Update `ActiveRecordTest` to improve assertions for relation populati…
dbuhonov c3a20fd
Add test for ModelRelationFilter handling array column values with co…
dbuhonov f0e4e68
Use `ReflectionMethod` without fully qualified namespace in `ActiveRe…
dbuhonov a100844
Add test to verify `resetRelation` updates relation dependencies in `…
dbuhonov 8fe24c9
Update tests/Stubs/ActiveRecord/CustomerWithOverriddenRelationQuery.php
dbuhonov aaccff4
Update tests/Stubs/ActiveRecord/CustomerWithRefreshInternalOverride.php
dbuhonov 7804055
Update CHANGELOG for Test #529: Increase MSI to 100%
dbuhonov 4dbfbf2
Combine and revise array column tests in `ModelRelationFilter` for cl…
dbuhonov dc1ccc0
Update CHANGELOG to reflect no changes in release 1.0.3
dbuhonov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These exclusions are for survivors that are not obvious from the test diff itself, so I moved them into infection.json.dist intentionally to make them explicit and visible rather than leaving them hidden in the report only.