This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Scala and coverage tools

1 reply
etorreborre
Joined: 2008-09-03,
User offline. Last seen 1 year 22 weeks ago.

Hi,

There was a question on the specs users mailing-list about using coverage
tools with specs.

I would like to ask the question here, to make it a bit more general.

What's your experience of coverage tools with Scala?

Eric.

DRMacIver
Joined: 2008-09-02,
User offline. Last seen 42 years 45 weeks ago.
Re: Scala and coverage tools
On Fri, Jan 16, 2009 at 12:38 AM, Eric Torreborre <etorreborre@yahoo.com> wrote:

Hi,

There was a question on the specs users mailing-list about using coverage
tools with specs.

I would like to ask the question here, to make it a bit more general.

What's your experience of coverage tools with Scala?

A few weirdnesses: You need to understand Scala's name mangling, there are some tests the compiler inserts that it inevitably complains about not testing without really pedantic unit tests (null checks for inner classes for example, pattern matching often has some redundant tests, etc). Other than that it largely Just Works.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland