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
Quick Search
Grails
GRAILS-787
Top level task: Improve Grails unit testing support
Log In
Views
XML
Word
Printable
Details
Type:
Improvement
Status:
Closed
Priority:
Major
Resolution:
Fixed
Affects Version/s:
0.4.1
Fix Version/s:
2.0 final
Component/s:
Testing
Labels:
None
Options
Show All
Show Open
Sub-Tasks
1.
Create grails-test/unit and grails-test/integration directories for integration and unit tests
Closed
Graeme Rocher
2.
Allow the execution of a single unit test
Closed
Jeff Brown
3.
Implement continuous testing by loading a thread the monitors changes and executes tests
Closed
Graeme Rocher
4.
Provide more documentation on testing specifically with mocks
Closed
Unassigned
5.
Define behaviour for existing tests left in grails-test/
Closed
Graeme Rocher
6.
Have functional tests automatically flush and delete all GORM objects between test methods
Closed
Graeme Rocher
7.
Make tests generate reports automatically (console output is hidden otherwise)
Closed
Graeme Rocher
8.
Update generated unit test templates to include comments explaining how to mock/test the artifact in question
Closed
Marc Palmer
9.
Add test base classes / meta magic to provide custom test features for different artefacts i.e. TagLibTestCase
Closed
Marc Palmer
10.
Look at having a custom test runner that is more helpful when things go wrong, and is smart about test environment required for each test (i.e. run functional tests in one batch etc)
Closed
Graeme Rocher
11.
Implement support for testing withFormat content negotiation
Closed
Graeme Rocher
12.
Test reports only count 1 failure in HTML reports if a test had multiple failures
Closed
Peter Ledbrook
13.
TestApp.groovy script should delete previous test reports
Closed
Peter Ledbrook
0%
14.
Support for unit testing URL Mappings
Closed
Graeme Rocher
15.
Decorate command objects with errors property in GrailsControllerUnitTestCase
Closed
Peter Ledbrook
16.
Add unit test support for taglibs
Closed
Peter Ledbrook
17.
Sanitize stack traces that are put into junit results
Closed
Graeme Rocher
18.
Mock the behaviour of render obj as XML (and JSON)
Closed
Peter Ledbrook
19.
Improve the visiblity of the Tests passed/failed message at the end, it is hard to see through the noise of the report generation etc.
Closed
Peter Ledbrook
20.
Improve the speed of running unit tests by no longer depending on packageApp and loadApp
Closed
Peter Ledbrook
21.
Create unit test rather than integration test by default
Closed
Peter Ledbrook
22.
NPE in GrailsMock.groovy when using mockFor/demand when a parameter is null
Closed
Peter Ledbrook
23.
Data binding a non-existent nested domain object throws an exception when testing
Closed
Peter Ledbrook
24.
Make GrailsUrlMappingsTestCase an integration test
Closed
Peter Ledbrook
25.
Have mockLogging also mock out 'isEnabled' methods
Closed
Peter Ledbrook
26.
Unique Constraint doesn't account for update to existing item in list of testInstances
Closed
Peter Ledbrook
27.
Save provided by MockUtils always adds an object to the list of test instances
Closed
Peter Ledbrook
28.
MockUtils.addValidateMethod doesn't pull in constraints from superclass
Closed
Peter Ledbrook
29.
Provide hook to enable third-party test targets to automatically run on test-app
Closed
Peter Ledbrook
30.
Mock delete method doesn't remove item from list of tests instances
Closed
Peter Ledbrook
31.
Mocked list method doesn't handle arguments like 'sort', 'max' and 'offset'
Closed
Peter Ledbrook
32.
MockUtils.mockDomain does not mock discard
Closed
Peter Ledbrook
33.
MockUtils.mockDomain does not work when using UUID
Closed
Peter Ledbrook
34.
HTTP Method-based UrlMapping Support
Open
Unassigned
35.
CommandObjectTestCase
Closed
Graeme Rocher
36.
ControllerTest should handle default return from actions
Open
Peter Ledbrook
37.
Cannot Use "mockFor" more than once in a test
Closed
Peter Ledbrook
38.
Allow reports to be optional for TestApp script
Closed
Peter Ledbrook
39.
Running a single test method from test suite
Closed
Peter Ledbrook
40.
Add empty methods for setUp and tearDown to Test templates
Closed
Peter Ledbrook
41.
one more assert in a test function cause failue of another test function
Closed
Peter Ledbrook
42.
Suppress successful unit tests from commandline output
Closed
Peter Ledbrook
43.
Add a way to test the new withForm { }.invalidToken { } construct
Closed
Peter Ledbrook
44.
Add a way to test the new forward(action:"foo") method
Closed
Peter Ledbrook
45.
Add method to GrailsUnitTestCase to load a codec
Closed
Peter Ledbrook
46.
Add method to mock tags in custom namespaces
Closed
Peter Ledbrook
47.
Some of the plugins unit tests are failing
Closed
Peter Ledbrook
48.
Problem with loading plugins in the integration tests - not possible to test output of the render method
Closed
Peter Ledbrook
49.
Add "XML" property to the request object that parses the request content on demand using XmlSlurper
Closed
Peter Ledbrook
50.
Add method to MvnUnitTestCase that resets the mock request and response
Closed
Peter Ledbrook
51.
Mocking DynamicFinders: Check for 'order' params
Closed
Peter Ledbrook
52.
Unit Test created via create-service should extend GrailsUnitTestCase
Closed
Peter Ledbrook
53.
Add setJsonRequestContent() methods to ControllerUnitTestCase
Closed
Peter Ledbrook
54.
Add getXml/JsonResponseContent() methods to ControllerUnitTestCase
Closed
Peter Ledbrook
55.
Running single unit test starts up integration testing as well
Closed
Luke Daley
56.
UrlMappingsTests extends GrailsUrlMappingsTestCase is not loaded in integration tests
Closed
Peter Ledbrook
57.
Add option to "test-app" to run only a single "type" of test, not just a single "phase"
Closed
Luke Daley
58.
Add "--dev-mode" option to "test-app" that uses "run-app" instead of "run-war" for functional tests
Closed
Peter Ledbrook
59.
Would like to see a mocked bindData() method on ControllerUnitTestCase.
Closed
Graeme Rocher
60.
Allow non-JUnit test plugins (like WebTest) to hook into TestApp
Closed
Luke Daley
61.
Restore versions of MockUtils methods that don't take an "errorsMap" argument
Closed
Peter Ledbrook
62.
Mock list() and dynamic finder methods don't work with sorting and paging parameters if there are no results
Closed
Peter Ledbrook
63.
Add mock read() method
Closed
Peter Ledbrook
64.
controllerName and actionName not known when using ControllerUnitTestCase
Closed
Graeme Rocher
65.
Can't test POJO domain class with mockDomain
Resolved
Unassigned
66.
Provide hooks for others testing framework different from junit like selenium, easyb, etc
Closed
Luke Daley
67.
mock the behaviour of render obj as JSON
Closed
Peter Ledbrook
68.
Provide regex support for "assertOutputEquals"
Closed
Jeff Brown
Activity
All
Comments
Work Log
History
Activity
Git Commits
No work has yet been logged on this issue.
People
Assignee:
Peter Ledbrook
Reporter:
Graeme Rocher
Vote
(
13
)
Watch
(
9
)
Dates
Created:
16/Feb/07 6:51 AM
Updated:
01/Jun/12 5:01 AM
Resolved:
01/Jun/12 5:01 AM
Last Reviewed:
01/Jan/10
Time Tracking
Estimated:
30m
Remaining:
30m
Logged:
Not Specified
Not Specified
Include sub-tasks
Agile
View on Board