diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-12-06 15:26:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-06 15:26:21 -0600 |
commit | 6aae59e7e50531f45d78495cf07970001ef05f86 (patch) | |
tree | ee27c3c2ab3f76d8fe78e18b4a77aba25bb8f2dc /components/dom_struct/lib.rs | |
parent | 6a6da9c2a4805d28365961c6ecd1e8dc7559b0b1 (diff) | |
parent | 1de6ab16e2004419e4795617fafba2b5fa7855e9 (diff) | |
download | servo-6aae59e7e50531f45d78495cf07970001ef05f86.tar.gz servo-6aae59e7e50531f45d78495cf07970001ef05f86.zip |
Auto merge of #19417 - dsandeephegde:master, r=asajeffrey,jdm
Mutation Test: with more mutation strategies
<!-- Please describe your changes on the following line: -->
1. Added following mutation strategies:
- If True (make if always true)
- If False(make if always false)
- Modify Comparision (<= to <, >= to >)
- Plus To Minus
- Minus To Plus
- Changing Atomic Strings (make string constant empty)
- Duplicate Line
- Delete If Block
2. Randomized the test order.
3. Introduced logging instead of print.
4. Added retry mechanism when mutation cannot be performed on a file by a strategy.
---
<!-- 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).
<!-- Either: -->
- [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/19417)
<!-- Reviewable:end -->
Diffstat (limited to 'components/dom_struct/lib.rs')
0 files changed, 0 insertions, 0 deletions