title: Scala specs2 nested-in with context
body: <p>I am trying to run some tests in Scala using specs2, but I am having some problems with some test cases not being executed.</p>
  
  <p>Here is a minimal example to illustrate my problem.</p>
  
  <p>BaseSpec.scala</p>
  
  <pre><code>package foo
  
  import org.specs2.mutable._
  
  trait BaseSpec extends Specification {
    println("global init")
    trait BeforeAfterScope extends BeforeAfter {
      def before = println("before")
      def after = println("after")
    }
  }
  </code></pre>
  
  <p>FooSpec.scala</p>
  
  <pre><code>package foo
  
  import org.specs2.mutable._
  
  class FooSpec extends BaseSpec {
    "foo" should {
      "run specs" in new BeforeAfterScope {
        "should fail" in {
          true must beFalse
        }
      }
    }
  }
  </code></pre>
  
  <p>I would expect the test to fail, however it seems that the case "should fail" in the nested <code>in</code> statement does not get executed.</p>
  
  <p>If I remove either the nested <code>in</code> statement or the <code>BeforeAfterScope</code>, the test behaves correctly so I guess I am missing something, but I did not manage to find this out in the documentation.</p>
  
  <p>[EDIT]</p>
  
  <p>In my use case, I am currently populating the database in the <code>before</code> method and cleaning it up in the <code>after</code> method. However, I would like to be able to have several test cases without cleaning up and populating the database again between each.
  What would be the right way to do this?</p>