Skip to content

testQuick ignores changes in transitive dependencies #8072

@OlegYch

Description

@OlegYch

steps

using sbt 1.2 - 1.10
have two main files:

package main
object Main {
  def f2 = part2.f
}
package main
object part2 {
  def f = "2"
}

and a test like

package main
import org.specs2.mutable.Specification

class MainTest extends Specification {
  "f2" in {
    Main.f2 === "2"
  }
}

run testQuick
change part2.scala like

package main
object part2 {
  def f = "3"
}

run testQuick

problem

testQuick after code change doesn't rerun the test

expectation

testQuick reruns the test

notes

this appears to be fixed in 2.0

here is a repro https://github.com/OlegYch/sbt-testQuick-bug

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions