An open API service indexing awesome lists of open source software.

https://github.com/mbj/test-bench-mutant-experimentation


https://github.com/mbj/test-bench-mutant-experimentation

Last synced: 4 months ago
JSON representation

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