https://github.com/mbj/test-bench-mutant-experimentation
https://github.com/mbj/test-bench-mutant-experimentation
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mbj/test-bench-mutant-experimentation
- Owner: mbj
- License: mit
- Created: 2022-09-05T15:58:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-05T15:59:26.000Z (almost 4 years ago)
- Last Synced: 2026-01-31T14:57:07.760Z (6 months ago)
- Size: 71.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-License.txt
Awesome Lists containing this project
README
# Test Bench Mutant Experimentation
## Setup
Install gem dependencies:
``` sh
> ./install-gems.sh
```
Run tests with TestBench:
``` sh
> bundle exec bench test_bench/automated
```
Run tests with RSpec:
``` sh
> bundle exec rspec
```
Run tests with Minitest:
``` sh
> ruby test/run.rb
```
IRB console:
``` sh
> ./console.sh
```
## Running Mutant
RSpec:
``` sh
> ./test.sh rspec
```
Minitest:
``` sh
> ./test.sh minitest
```
Test Bench:
``` sh
> ./test.sh testbench
```
## Notes
- Even though the tests don't cause
`TestBenchMutantExperimentation::Example.build` to be called, it is still
subjected to mutation testing
- Method call tracing is naive; it only filters out TestBench method calls
- It probably needs to filter out all installed gems