archie / dedeprecator

Replace deprecated methods in projects using ScalaTest 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeDeprecator

This is a small Scala application that searches .scala files for deprecated methods from the ScalaTest 2.0 test framework, replaces them with non-deprecated version, and writes it back to the original file.

Most likely you want to use it like this:

  • sbt packageBin
  • scala /path/to/bin/akka-dedeprecator_2.10-0.1.jar /path/to/scala/specs/*.scala

It doesn't cover all methods listed as deprecated yet. It has only been tested (successfully) on the akka-testkit project so far.

Contributions welcome!

(c) Marcus Ljungblad, 2013

About

Replace deprecated methods in projects using ScalaTest 2.0

License:MIT License


Languages

Language:Scala 100.0%