title: Scalatest and scalamock - dependency trouble involving SuiteMixin
body: <p>I'm trying to setup my project to use scalatest and scalamock.
  I'm using scala version 2.10.0. <br>
  However, I cant seem to get the dependencies right. </p>
  
  <p>I've started with this code: </p>
  
  <pre><code>class  ControllerTest extends org.scalatest.FunSuite 
                        with org.scalamock.scalatest.MockFactory {}
  </code></pre>
  
  <p>I've tried two combinations of versions:</p>
  
  <p>1)</p>
  
  <ul>
  <li>org.scalatest : <strong>scalatest_2.10</strong> : <strong>1.9.1</strong> <br></li>
  <li>org.scalamock: <strong>scalamock-scalatest-support_2.10</strong> : <strong>3.0.1</strong></li>
  </ul>
  
  <p>This is what I get:  </p>
  
  <pre><code>scala: bad symbolic reference. 
  A signature in MockFactory.class refers to type SuiteMixin in package org.scalatest which is not available. 
  It may be completely missing from the current classpath, or the version on the classpath might be incompatible with the version used when compiling MockFactory.class.
  </code></pre>
  
  <p>Note: in the <a href="http://scalamock.org/" rel="nofollow">scalamock documentation</a>, the artifact id is specified without the trailing _2.10, but maven couldn't find any artifact named like this. Also, I couldn't find on their site what scalatest version should be used with scalamock.</p>
  
  <p>2)</p>
  
  <ol>
  <li>org.scalatest : <strong>scalatest_2.10</strong> : <strong>1.9.1</strong></li>
  <li>org.scalamock: <strong>scalamock-scalatest-support_2.10.0-RC5</strong>: <strong>3.0-M8</strong></li>
  </ol>
  
  <p>The compiler says: <br></p>
  
  <pre><code>scala: overriding method nestedSuites in trait SuiteMixin of type =&gt; scala.collection.immutable.IndexedSeq[org.scalatest.Suite];
  method nestedSuites in trait Suite of type =&gt; List[org.scalatest.Suite] has incompatible type
  class ControllerTest extends FunSuite with MockFactory {
  </code></pre>
  
  <p>and <br></p>
  
  <pre><code>scala: class ControllerTest needs to be abstract, since:
  it has 5 unimplemented members.
  /** As seen from class ControllerTest, the missing signatures are as follows.
   *  For convenience, these are usable as stub implementations.
   */
    def rerunner: Option[String] = ???
    def run(testName: Option[String],args: org.scalatest.Args): org.scalatest.Status = ???
    protected def runNestedSuites(args: org.scalatest.Args): org.scalatest.Status = ???
    protected def runTest(testName: String,args: org.scalatest.Args): org.scalatest.Status = ???
    protected def runTests(testName: Option[String],args: org.scalatest.Args): org.scalatest.Status = ??? 
  </code></pre>
  
  <p>So, what's up with this SuiteMixin trait? <br>
  If I use scalatest-support_2.10.0-RC5:3.0-M8, it appears to exist in <strong>scalatest lib</strong>. <br>
  If I use scalatest-support_2.10:3.0.1, it seems to have gone from said scalatest lib. </p>
  
  <p>What kind of sorcery is this? And, more importantly, what version combination should I use to make it work?</p>
  
  <p>Thanks!</p>