ScalaTest for Scala IDE Plugin 0.9.1 Released!
Bill Venners <bill@...
2012-07-26 06:44:54 GMT
After much hard work spanning an entire year, we are proud to announce
the first official release of the ScalaTest for Scala IDE Plugin! Not
only does this plugin give Scala programmers the level of
test-framework/IDE integration that Java programmers have enjoyed with
JUnit, it goes quite a bit farther:
1. You can pretty much right click on anything that looks runnable and
run it as a test.
2. You can run just the tests you select in code, run tests you select
in reported results, rerun all tests or just previously failed tests,
or run tests in a selected class, file, or package.
3. The results pane mirrors the structure or the specification (i.e.,
if your BDD-style specification text is nested in the source, it will
appear nested in the results pane).
4. You can hop from results to test, scope, class, or line of failed code.
5. You can unfold the top of that stack that is automatically folded
so only the offending line of code is shown.
6. And, because ScalaTest is a platform that can support different
styles of testing, the plugin can be extended to grant full IDE
support for non-ScalaTest-native styles, such as a ScalaCheck
Properties classes, Specs2 Specifications, or custom styles.
You can use the plugin with any release of ScalaTest, but you'll enjoy
the most seamless IDE integration if you use ScalaTest 2.0.M2 (a very
carefully tested milestone release). You can plug it into either the
latest stable release of the Scala IDE for Eclipse (version 2.0.2), or
a nightly build of Eclipse 2.1.0.
So, how do you get the plugin? Select Help -> Install New Software in
Eclipse, and enter as your update site one of the "Scala IDE Ecosystem
update site" URLs on this page:
Select ScalaTest for Scala IDE (and the others if you don't have them
already), and click Next then Finish.
Information on the features of the integration (and some screenshots
(and the source code)) is here:
A video demo of the plugin that I gave back at ScalaDays is here:
Info on ScalaTest 2.0.M2 is here:
With the release notes for ScalaTest 2.0.M2 here:
Many thanks to Chua Chee Seng, George Berger, Luc Bourlier, Mirco
Dotta, Iulian Dragoș and everyone else who helped with this effort.