【问题标题】:Which Specs2 dependency contains AroundOutside?哪个 Specs2 依赖项包含 AroundOutside?
【发布时间】:2015-06-09 18:40:23
【问题描述】:

我正在从 Specs2 2.3.12 升级到 3.6.1 并且无法确定要在 build.sbt 中包含哪个依赖项以引入 AroundOutside 特征。

我已经包含了Installation doc 中列出的所有依赖项,但仍然得到object AroundOutside is not a member of package org.specs2.specification

AroundOutside 特征记录在 here

【问题讨论】:

    标签: specs2


    【解决方案1】:

    AroundOutside 已从 3.x 中的 specs2 中删除。你可以使用Foreach[T] trait 来覆盖类似的功能。

    【讨论】:

    猜你喜欢
    • 2011-01-15
    • 1970-01-01
    • 2014-04-04
    • 2011-08-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多