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)
  • Maven 1.x Test Plugin
  • MPTEST-57

Customize classpath when running tests

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.7
  • Fix Version/s: None
  • Labels:
    None

Description

For some test scenarios (e.g. loading custom elements from the class path), it would be very convenient if one could manipulate the class path used to run the unit tests.

The attached patch allows a maven user to add a property

maven.test.classpath = foo.jar:bar.jar:baz.jar

to the project.properties and then the jar will be on the class path when the tests are run. This patch would help the Velocity project tremendously in running its unit tests, so please consider it for inclusion.

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

Attachments

  1. Text File
    classpath.patch
    22/Sep/05 6:49 AM
    2 kB
    Henning Schmiedehausen

Issue Links

duplicates

Improvement - An improvement or enhancement to an existing feature or task. MPTEST-47 It should be possible to add additional elements to the test classpath

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Lukas Theussl
    Reporter:
    Henning Schmiedehausen
Vote (0)
Watch (0)

Dates

  • Created:
    22/Sep/05 6:49 AM
    Updated:
    22/Mar/06 5:58 PM
    Resolved:
    22/Mar/06 5:58 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.