2015-06-09 45 views
0

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

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

AroundOutside性状记录在here

回答

0

AroundOutside已在3.x中从specs2中删除。您可以使用Foreach[T]特征代替类似的功能。

+0

如果您在迁移时遇到问题,请张贴一些代码。 – Eric

+0

我遇到了迁移问题 - 请参阅是否可以帮助http://stackoverflow.com/questions/30839582/specs2-wrap-unit-test-in-database-transaction – ic3b3rg