generated from yii2-extensions/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore: Add mutation testing workflow and configuration files.
#22
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
Closed
Closed
Changes from 39 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
9c8520e
chore: Add `mutation` testing workflow and configuration files.
terabytesoftw 2a16fcd
chore: Add `infection` plugin configuration and mutation testing scri…
terabytesoftw bf0831f
chore: Add `infection` dependency to `require-dev` in `composer.json`.
terabytesoftw 3a34701
test: Add `null` coalescing operator test in `NestedSetsBehaviorTest`…
terabytesoftw de3b750
refactor: Update `beforeInsertNode` method to throw exception for `nu…
terabytesoftw 3c19ebc
Merge branch 'main' into feat-mini-1.
terabytesoftw 3b07b86
test: Add transaction rollback test for delete operation with childre…
terabytesoftw 429c795
test: Add validation tests for `appendTo` method in `NestedSetsBehavi…
terabytesoftw 339f7b0
test: Add strict validation for `Tree` model and update tests for `ap…
terabytesoftw 8f744de
test: Enhance validation checks in `appendTo` method for `TreeWithStr…
terabytesoftw 8630ec4
Apply fixes from StyleCI
StyleCIBot a09095b
test: Remove redundant parameter from `appendTo` method call in `Nest…
terabytesoftw 4380651
Merge branch 'main' into feat-mini-1.
terabytesoftw f60111d
Merge branch 'main' into feat-mini-1
terabytesoftw 372f9c6
Merge branch 'main' into feat-mini-1
terabytesoftw 5c3b8e8
Merge branch 'main' into feat-mini-1
terabytesoftw e3eeb8d
Merge branch 'main' into feat-mini-1
terabytesoftw 0fa313d
feat: Update validation scenarios in `prependTo` method tests to ensu…
terabytesoftw 5e6f8a0
fix: Remove unnecessary validation parameter from `prependTo` method …
terabytesoftw cb2d003
Merge branch 'main' into feat-mini-1
terabytesoftw a3cff2e
feat: Add `ExtendableMultipleTree` and `ExtendableMultipleTreeQuery` …
terabytesoftw 758a92b
Merge branch 'main' into feat-mini-1
terabytesoftw dd48f77
Merge branch 'main' into feat-mini-1
terabytesoftw b02cb06
Merge branch 'main' into feat-mini-1
terabytesoftw a5e88bc
Merge branch 'main' into feat-mini-1
terabytesoftw 182da72
Merge branch 'main' into feat-mini-1
terabytesoftw 9542071
Merge branch 'main' into feat-mini-1
terabytesoftw 92a47da
test: Add verification for correct order of children by `left` attrib…
terabytesoftw d0e7eee
test: Add verification for correct order of parents by 'left' attribu…
terabytesoftw 30c00b8
test: Refactor children and parents order verification methods for cl…
terabytesoftw 6f90737
test: Update children method to require order by for correct tree tra…
terabytesoftw 32d923a
Apply fixes from StyleCI
StyleCIBot 31d7cc0
test: Refactor child existence assertions for improved clarity and sa…
terabytesoftw 461f51c
test: Simplify child order assertions for clarity and maintainability.
terabytesoftw bf01e28
Merge branch 'main' into feat-mini-1
terabytesoftw c04b85b
Merge branch 'main' into feat-mini-1
terabytesoftw 73b9407
test: Refactor roots method test to use database inserts for tree nod…
terabytesoftw 674e9de
Apply fixes from StyleCI
StyleCIBot e816235
refactor: Update roots method to order by left attribute and tree att…
terabytesoftw ed763f9
Merge branch 'main' into feat-mini-1
terabytesoftw b75f9a2
test: Add verification for leaves method ordering based on left attri…
terabytesoftw 03fd99e
Merge branch 'main' into feat-mini-1
terabytesoftw b0944dc
test: Remove redundant leaves method ordering verification in `Nested…
terabytesoftw 2e6f83c
test: Add verification for roots method ordering in `NestedSetsQueryB…
terabytesoftw fa9883f
test: Refactor leaves method test to maintain left attribute ordering…
terabytesoftw 812e954
test: Remove redundant leaves method ordering verification when tree …
terabytesoftw bddddfa
test: Add verification for roots method ordering when tree attribute …
terabytesoftw d6ec8e4
Merge branch 'main' into feat-mini-1
terabytesoftw 89e8d37
Merge branch 'main' into feat-mini-1
terabytesoftw 7a0c607
fix: Update left attribute shifting logic in `NestedSetsBehavior` to …
terabytesoftw 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| on: | ||
| pull_request: | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| - 'README.md' | ||
| - 'CHANGELOG.md' | ||
| - '.gitignore' | ||
| - '.gitattributes' | ||
|
|
||
| push: | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| - 'README.md' | ||
| - 'CHANGELOG.md' | ||
| - '.gitignore' | ||
| - '.gitattributes' | ||
|
|
||
| name: mutation test | ||
|
|
||
| jobs: | ||
| mutation: | ||
| uses: php-forge/actions/.github/workflows/infection.yml@main | ||
| with: | ||
| phpstan: true | ||
| secrets: | ||
| STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,17 @@ | ||
| { | ||
| "source": { | ||
| "directories": [ | ||
| "src" | ||
| ] | ||
| }, | ||
| "$schema": "vendor/infection/infection/resources/schema.json", | ||
| "logs": { | ||
| "text": "php:\/\/stderr", | ||
| "stryker": { | ||
| "report": "main" | ||
| } | ||
| }, | ||
| "mutators": { | ||
| "@default": true | ||
| } | ||
| "source": { | ||
| "directories": [ | ||
| "src" | ||
| ] | ||
| }, | ||
| "phpStan": { | ||
| "configDir": "." | ||
| }, | ||
| } |
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
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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.