buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Spiewak (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BUILDR-209) Scala Specs Should Use src/specs/scala/
Date Sat, 21 Feb 2009 04:36:01 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Spiewak updated BUILDR-209:
----------------------------------

    Priority: Major  (was: Minor)

My separate-scala-specs branch now sports actual RSpec specs.  The only thing left now is
documentation, which is as simple as adding a paragraph to the appropriate .textile file.
 There might be some unforeseen issues with other test providers using the filter_classes
method, but I doubt it.  If anything, the ScalaTest might have to be modified a bit.

Basically, almost all of the work has been put in to make this happen.  Could we consider
this for inclusion in 1.3.4? 

> Scala Specs Should Use src/specs/scala/
> ---------------------------------------
>
>                 Key: BUILDR-209
>                 URL: https://issues.apache.org/jira/browse/BUILDR-209
>             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.


Mime
View raw message