title: How to test SBT plugins
body: <p>Is there any tutorial for the scripted plugin? Or maybe a new way to test plugins. I've found a <a href="http://eed3si9n.com/testing-sbt-plugins" rel="noreferrer">tutorial</a> that seems to be a bit old.</p>
  
  <p>If I have to resort to Scripted, some questions that come to my mind:</p>
  
  <ol>
  <li>Do I need to publish local my plugin before running scripted?</li>
  <li>Can I refer to the version located in <em>version.sbt</em> from my tests?</li>
  </ol>
  
  <p>For the record, I'm also using the <a href="https://github.com/jrudolph/sbt-cross-building" rel="noreferrer">cross-build</a> plugin, so if possible, the tests would need to cover both 0.12 and 0.13 versions.</p>