If I get a bug report that says "Since this release I cannot longer enter negative values" then I would like to create a JUnit test for this.
@Test
assertCanPutNegative(){}
This testcase I would like to run on the latest 10 commits for example by doing
git bisect start
git bisect bad
git bisect good a4426026a056049504 <- commit known to work
then i would like to run my newly created testcase on all of these commits.
Can I do that easily with git bisect run mvn clean test
(because my test will disappear in the bisecting process)?
Can i do something else in the run command to make this work?
You could do it like this:
git bisect run mvn clean test