【问题标题】:Activator run single test from Suite of testsActivator 从测试套件运行单个测试
【发布时间】:2016-11-24 08:44:05
【问题描述】:

大家好,在我的游戏项目中,我创建了一套测试。

class AcceptanceSuite extends Suites(new SomeTest, new SomeTest2, new SomeTest3) with OneAppPerSuite

有没有办法指定套件运行单个测试?现在,如果我想运行其中一项测试,我必须注释掉我不想要的任何测试。这是我运行套件的命令。

activator "test-only acceptance.AcceptanceSuite" 

【问题讨论】:

    标签: scala sbt scalatest typesafe-activator


    【解决方案1】:

    你试过了吗

    testOnly acceptance.SomeTest
    

    【讨论】:

      猜你喜欢
      • 2010-12-03
      • 1970-01-01
      • 2012-02-17
      • 2014-03-25
      • 2011-10-15
      • 2019-11-24
      • 2020-05-14
      • 2016-11-07
      • 2017-05-22
      相关资源
      最近更新 更多