mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #18984 - dsandeephegde:master, r=jdm
Initial steps of Mutation testing <!-- Please describe your changes on the following line: --> - Added one strategy of mutation which is replacing occurrences && to ||. - Added test mapping framework for running mutation tests corresponding to a mutant. - Added one test_mapping.json to map source file in a folder to WPT test. - Added README mentioning about Mutation testing. - Added CI script to invoke mutation test. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes #18529 (github issue number if applicable). - [x] These changes do not require tests because it is a python script to run mutation test and does not change any behavior. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18984) <!-- Reviewable:end -->
This commit is contained in:
commit
50f11e3584
6 changed files with 234 additions and 0 deletions
8
components/script/dom/test_mapping.json
Normal file
8
components/script/dom/test_mapping.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"xmlhttprequest.rs": [
|
||||
"XMLHttpRequest"
|
||||
],
|
||||
"range.rs": [
|
||||
"dom/ranges"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue