jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Mojo
  • MOJO-920

testing is not integrated in pde plugin

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: pde (retired)
  • Labels:
    None
  • Environment:
    Eclipse 3.3.1, ubuntu linux 7.10
  • Complexity:
    Intermediate

Description

The pde plugin does not handle unit testing gracefully.
If I have unit tests in src/test/java, which require classes from src/main/java and dependencies in order to run, mvn package should be able to compile these successfully and run the tests. This does not currently happen.

All the builds are handled by a headless pde build. When the tests are compiled, this fails due to missing class files (pde places them in /target/pdeTemp/plugins/<app>/@dot/, instead of target/classes). If you fudge the tests compile to look here too, then the tests themselves fail since the pde dependencies aren't included on the classpath.

Note that this could simply be a documentation issue, since dependency resolution in maven-pde-plugin is currently undocumented.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    patch.txt
    09/Sep/08 9:55 AM
    5 kB
    Christian Trutz

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Christian Trutz added a comment - 05/Sep/08 4:23 AM

I have some PDE JUnit tests in my plugins and I want also, that this tests are executed if i run pde:test.

Show
Christian Trutz added a comment - 05/Sep/08 4:23 AM I have some PDE JUnit tests in my plugins and I want also, that this tests are executed if i run pde:test.
Hide
Permalink
Christian Trutz added a comment - 09/Sep/08 9:55 AM

A patch with new Mojo for executing PDE Junit tests.

Show
Christian Trutz added a comment - 09/Sep/08 9:55 AM A patch with new Mojo for executing PDE Junit tests.
Hide
Permalink
Robert Scholte added a comment - 22/Jan/11 3:57 PM

Project has been retired, so won't fix

Show
Robert Scholte added a comment - 22/Jan/11 3:57 PM Project has been retired, so won't fix

People

  • Assignee:
    Unassigned
    Reporter:
    Mark Howard
Vote (1)
Watch (1)

Dates

  • Created:
    02/Oct/07 4:37 AM
    Updated:
    22/Jan/11 3:57 PM
    Resolved:
    22/Jan/11 3:57 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.