Gradle

  • 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)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-1251

testing frameworks should be applied as plugins

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None

Description

as discussed here: http://gradle.1045684.n5.nabble.com/Junit-and-TestNG-tp3073824p3073824.html
testing frameworks (i.e. junit and testng) should be applied as other plugins:

// Adds the main source set and implicitly the standard lifecycle but no test task
apply plugin: 'java'

// Adds in the 'junit' task plus implicitly the test source set
apply plugin: 'junit'

// Adds in the 'testng' task plus implicitly the test source set
apply plugin: 'testng'

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
No commits found.

People

  • Assignee:
    Unassigned
    Reporter:
    Tomek Kaczanowski
Vote (1)
Watch (1)

Dates

  • Created:
    12/Dec/10 1:36 AM
    Updated:
    09/Jan/11 9:54 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.