繁体   English   中英

sbt多模块项目:集成测试的相互依赖性

[英]sbt multi-module project: inter-dependency of integration tests

我有一个多模块sbt项目,每个模块都有集成测试。 模块a依赖于模块b进行编译,测试和集成测试。 因此,我在Build.scala中进行了如下设置:

lazy val authorizationdeciderservice = Project(
  id = "a",
  base = file("modules/a"),
  configurations = Seq(IntegrationTest),
  dependencies = Seq(b % "compile;it->test;it")
)

现在, compileit->test依赖做工精细,但it dependecy不,在我是无法访问的资源上it路径b在集成测试a

可能是什么问题?

b % "compile;it->test;it"b % "compile->compile;it->test;it->compile" 要从a中的集成测试访问b中it路径上的资源,应该有"it->it"

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM