简体   繁体   中英

Sbt: when to use testQuick and how does it determine which tests to skip?

According to sbt documentation, when running testQuick , it executes

  • The tests that failed in the previous run
  • The tests that were not run before
  • The tests that have one or more transitive dependencies, maybe in a different project, recompiled.

How does sbt determine which tests qualify? If it is based on cached results, where is this cache?

默认情况下,如果您对运行它的挑选测试的运行方式是否完全正确,请保存在target/streams/test/test/$global/streams/succeded_tests (路径可能因构建设置而异),请检查testQuickFilter方法。 COM / SBT / SBT / BLOB / fd20d3039ad06cbee47c6386dc5839060417014b /主/ src目录/主/斯卡拉/ SBT / Defaults.scala#L758

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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