Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚开始第一次使用覆盖。它现在对我来说很好用,但是我遇到了不包括包的语法问题。
当我的包结构如下时:
- com - project - core - excluded - notExcluded
我应该在 build.sbt 中添加什么来排除包:excluded?
提前致谢!
以下之一应该适合您:
coverageExcludedPackages := ".*exclude.*"
coverageExcludedPackages := "com\\.project\\.core\\.exclude.*"
https://github.com/scoverage/sbt-scoverage