Grails JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • 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)
  • Agile
Grails
  • Grails
  • GRAILS-787 Top level task: Improve Grails unit t...
  • GRAILS-789

Allow the execution of a single unit test

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 0.5-RC1
  • Component/s: None
  • Labels:
    None

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Git Commits
Hide
Permalink
Jeff Brown added a comment - 14/Apr/07 8:12 PM

Individual test cases may now be invoked by setting the test system property like this...

grails test-app -Dtest=AuthorTests

This works for now but may need to be revisited with some of the other GRAILS-787 sub-tasks.

Show
Jeff Brown added a comment - 14/Apr/07 8:12 PM Individual test cases may now be invoked by setting the test system property like this... grails test-app -Dtest=AuthorTests This works for now but may need to be revisited with some of the other GRAILS-787 sub-tasks.
Hide
Permalink
Jeff Brown added a comment - 16/Apr/07 8:55 PM

we should change this to use command line args, not system properties

Show
Jeff Brown added a comment - 16/Apr/07 8:55 PM we should change this to use command line args, not system properties
Hide
Permalink
Jeff Brown added a comment - 16/Apr/07 9:52 PM

The test-app target now suports specifying a test to run as a command line argument like these...

grails test-app Author 

grails test-app AuthorController 

The script will append "Tests" to the name and executing the matching test case

Show
Jeff Brown added a comment - 16/Apr/07 9:52 PM The test-app target now suports specifying a test to run as a command line argument like these... grails test-app Author grails test-app AuthorController The script will append "Tests" to the name and executing the matching test case

People

  • Assignee:
    Jeff Brown
    Reporter:
    Graeme Rocher
Vote (0)
Watch (0)

Dates

  • Created:
    16/Feb/07 6:52 AM
    Updated:
    18/May/11 3:20 PM
    Resolved:
    16/Apr/07 9:52 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.2.1#813-sha1:277a546)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Grails project. Try JIRA - bug tracking software for your team.