Reputation: 8582
Is there any tutorial for the scripted plugin? Or maybe a new way to test plugins. I've found a tutorial that seems to be a bit old.
If I have to resort to Scripted, some questions that come to my mind:
For the record, I'm also using the cross-build plugin, so if possible, the tests would need to cover both 0.12 and 0.13 versions.
Upvotes: 12
Views: 1994
Reputation: 8996
Eugene's answer is still relevant, but now, Sbt Plugins Testing has a proper documentation page in the official sbt documnetation site:
http://www.scala-sbt.org/release/docs/Testing-sbt-plugins.html
Upvotes: 3
Reputation: 95624
(Author of the linked testing sbt plugins here) There hasn't been major changes to scripted
since I first wrote it, but I updated some of the details.
scriptedLaunchOpts
, and catch it with System.getProperty
on the other side.Upvotes: 9