Installation
Requirements
Every pull request is tested on a Linux machine.
Java 8
Tested Scala versions: 2.13.13
Sbt >= 1.3.4
Coursier
Start by installing Coursier command-line interface.
(cs
will be used in the instructions below.)
Install Bloop using coursier:
cs setup --apps bloop
Configuration file
Next, create .blinky.conf
configuration file in the root of your project:
projectPath = "."
projectName = "project-name"
filesToMutate = "src/main/scala"
options = {
maxRunningTime = 10 minutes
}
More information about configuration here.
Next, download Blinky with coursier, and then, check the version:
cs bootstrap com.github.rcmartins:blinky-cli_2.13:0.4.0 -o blinky
./blinky -v # should say v0.4.0
You can also launch Blinky without creating an executable with:
cs launch com.github.rcmartins:blinky-cli_2.13:0.4.0 -- -v
Blinky will compile the project and generate the necessary semanticdb files before applying the mutations to the code.
You can also pass parameters directly to override parameters in the .blinky.conf file:
cs launch com.github.rcmartins:blinky-cli_2.13:0.4.0 -- --onlyMutateDiff=true