-
Nov 29th, 2009, 09:35 PM
#1
Hooking into Roo Integration Tests
In the same vein as Scaffolded Controllers and Manual controllers, I would like to see Roo generate 'manual' integration tests.
This will let me fast track work on a number of things, of which the most important on would be custom JPA queries.
If Roo could generate stub classes/aspects where I can:
- Define specific test data (like DoD, but with more sensible values that are pertinent to the application domain).
- A stub integration test class, with the work done for data setup, that would be great
Good idea?
-
Nov 30th, 2009, 02:45 AM
#2
There's a jira ticket open for improve test generation facilities. Maybe your suggest could fit or expand it??
https://jira.springsource.org/browse/ROO-132
HTH
-
Nov 30th, 2009, 04:45 AM
#3
Mm, kinda sorta... I'm more interested in a stub text fixture that lets me do most the work, rather than telling Roo how to do it's thing.
-
Dec 1st, 2009, 11:30 PM
#4
You can already provide a getNewTransientChoice(int) in your DataOnDemand classes and in doing so provide your own seed data. You can also use a command like "class --class com.foo.Bar --path SRC_TEST_JAVA" to create a new empty test class.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules