buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <>
Subject [jira] Commented: (BUILDR-209) Scala Specs Should Use src/specs/scala/
Date Sun, 08 Mar 2009 20:15:56 GMT


Alex Boisvert commented on BUILDR-209:

You're right but I'm not sure it's a good precedent.  Let's bring this up on the mailing list.
 I think it's time for splitting specs and tests.

> Scala Specs Should Use src/specs/scala/
> ---------------------------------------
>                 Key: BUILDR-209
>                 URL:
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Test frameworks
>    Affects Versions: 1.3.3
>            Reporter: Daniel Spiewak
> If you create a series of unit tests using most supported BDD frameworks, the source
file will have to be placed in some sub-directory of src/spec (e.g. src/spec/java, src/spec/groovy,
etc).  However, due to the way that support is implemented for Specs (the Scala framework),
test units must be placed within the src/test/scala folder.  This not only breaks with user
expectation, but it also makes certain situations a little more difficult to deal with (mixed
Scala Test and Specs for example).  It would be nice if we could just stick .scala files in
the src/spec/scala directory and have things magically work.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message