You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2009/03/18 03:05:50 UTC
[jira] Resolved: (BUILDR-209) Scala Specs Should Use
src/specs/scala/
[ https://issues.apache.org/jira/browse/BUILDR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert resolved BUILDR-209.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.3.4
Patch applied. Thanks again!
boisvert@sixtine:~/svn/buildr-separate-scala-specs$ svn commit -m "BUILDR-209 Scala Specs Should Use src/specs/scala/"
Sending CHANGELOG
Sending doc/languages.textile
Sending lib/buildr/java/tests.rb
Adding lib/buildr/scala/bdd.rb
Sending lib/buildr/scala/tests.rb
Sending lib/buildr/scala.rb
Sending spec/sandbox.rb
Adding spec/scala/bdd_spec.rb
Sending spec/scala/tests_spec.rb
Transmitting file data .........
Committed revision 755456.
> 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
> Fix For: 1.3.4
>
>
> 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.