You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Sean Ahn (JIRA)" <ji...@apache.org> on 2009/02/26 19:07:01 UTC
[jira] Created: (BUILDR-262) build test=no fails when a test class
has a dependency on another test class in a different project
build test=no fails when a test class has a dependency on another test class in a different project
---------------------------------------------------------------------------------------------------
Key: BUILDR-262
URL: https://issues.apache.org/jira/browse/BUILDR-262
Project: Buildr
Issue Type: Bug
Components: Dependency management
Affects Versions: 1.4
Reporter: Sean Ahn
Priority: Minor
When you have:
project_root - project_A - src - test - class_A
- project_B - src - test - class_B
define "project_B" do
test.with project("project_A")
test classes for project_A are compiled into its target directory. However, during compiling test classes for project_B, compiler does not resolve project_A's test classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-262) build test=no fails when a test
class has a dependency on another test class in a different project
Posted by "Sean Ahn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677082#action_12677082 ]
Sean Ahn commented on BUILDR-262:
---------------------------------
Forgot to mention that this dependency between test classes across different projects works when test is enabled without "test=no".
> build test=no fails when a test class has a dependency on another test class in a different project
> ---------------------------------------------------------------------------------------------------
>
> Key: BUILDR-262
> URL: https://issues.apache.org/jira/browse/BUILDR-262
> Project: Buildr
> Issue Type: Bug
> Components: Dependency management
> Affects Versions: 1.4
> Reporter: Sean Ahn
> Priority: Minor
>
> When you have:
> project_root - project_A - src - test - class_A
> - project_B - src - test - class_B
> define "project_B" do
> test.with project("project_A")
> test classes for project_A are compiled into its target directory. However, during compiling test classes for project_B, compiler does not resolve project_A's test classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-262) build test=no fails when a test class
has a dependency on another test class in a different project
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert resolved BUILDR-262.
----------------------------------
Resolution: Invalid
> build test=no fails when a test class has a dependency on another test class in a different project
> ---------------------------------------------------------------------------------------------------
>
> Key: BUILDR-262
> URL: https://issues.apache.org/jira/browse/BUILDR-262
> Project: Buildr
> Issue Type: Bug
> Components: Dependency management
> Affects Versions: 1.4
> Reporter: Sean Ahn
> Priority: Minor
> Attachments: BUILDR-262.zip
>
>
> When you have:
> project_root - project_A - src - test - class_A
> - project_B - src - test - class_B
> define "project_B" do
> test.with project("project_A")
> test classes for project_A are compiled into its target directory. However, during compiling test classes for project_B, compiler does not resolve project_A's test classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-262) build test=no fails when a test
class has a dependency on another test class in a different project
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677096#action_12677096 ]
Alex Boisvert commented on BUILDR-262:
--------------------------------------
Added example on wiki,
http://cwiki.apache.org/confluence/display/BUILDR/How+to+reuse+another+project%27s+test+classes
> build test=no fails when a test class has a dependency on another test class in a different project
> ---------------------------------------------------------------------------------------------------
>
> Key: BUILDR-262
> URL: https://issues.apache.org/jira/browse/BUILDR-262
> Project: Buildr
> Issue Type: Bug
> Components: Dependency management
> Affects Versions: 1.4
> Reporter: Sean Ahn
> Priority: Minor
> Attachments: BUILDR-262.zip
>
>
> When you have:
> project_root - project_A - src - test - class_A
> - project_B - src - test - class_B
> define "project_B" do
> test.with project("project_A")
> test classes for project_A are compiled into its target directory. However, during compiling test classes for project_B, compiler does not resolve project_A's test classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (BUILDR-262) build test=no fails when a test class
has a dependency on another test class in a different project
Posted by "Sean Ahn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Ahn closed BUILDR-262.
---------------------------
Nice!! thanks.
test.with project("project_A").test.compile.target
> build test=no fails when a test class has a dependency on another test class in a different project
> ---------------------------------------------------------------------------------------------------
>
> Key: BUILDR-262
> URL: https://issues.apache.org/jira/browse/BUILDR-262
> Project: Buildr
> Issue Type: Bug
> Components: Dependency management
> Affects Versions: 1.4
> Reporter: Sean Ahn
> Priority: Minor
> Attachments: BUILDR-262.zip
>
>
> When you have:
> project_root - project_A - src - test - class_A
> - project_B - src - test - class_B
> define "project_B" do
> test.with project("project_A")
> test classes for project_A are compiled into its target directory. However, during compiling test classes for project_B, compiler does not resolve project_A's test classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (BUILDR-262) build test=no fails when
a test class has a dependency on another test class in a different project
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677092#action_12677092 ]
boisvert edited comment on BUILDR-262 at 2/26/09 10:41 AM:
----------------------------------------------------------------
Attaching a project that illustrates how to achieve this...
was (Author: boisvert):
Attaching an project that illustrates how to achieve this...
> build test=no fails when a test class has a dependency on another test class in a different project
> ---------------------------------------------------------------------------------------------------
>
> Key: BUILDR-262
> URL: https://issues.apache.org/jira/browse/BUILDR-262
> Project: Buildr
> Issue Type: Bug
> Components: Dependency management
> Affects Versions: 1.4
> Reporter: Sean Ahn
> Priority: Minor
> Attachments: BUILDR-262.zip
>
>
> When you have:
> project_root - project_A - src - test - class_A
> - project_B - src - test - class_B
> define "project_B" do
> test.with project("project_A")
> test classes for project_A are compiled into its target directory. However, during compiling test classes for project_B, compiler does not resolve project_A's test classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-262) build test=no fails when a test class
has a dependency on another test class in a different project
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert updated BUILDR-262:
---------------------------------
Attachment: BUILDR-262.zip
Attaching an project that illustrates how to achieve this...
> build test=no fails when a test class has a dependency on another test class in a different project
> ---------------------------------------------------------------------------------------------------
>
> Key: BUILDR-262
> URL: https://issues.apache.org/jira/browse/BUILDR-262
> Project: Buildr
> Issue Type: Bug
> Components: Dependency management
> Affects Versions: 1.4
> Reporter: Sean Ahn
> Priority: Minor
> Attachments: BUILDR-262.zip
>
>
> When you have:
> project_root - project_A - src - test - class_A
> - project_B - src - test - class_B
> define "project_B" do
> test.with project("project_A")
> test classes for project_A are compiled into its target directory. However, during compiling test classes for project_B, compiler does not resolve project_A's test classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.