This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Spring and the fly likes Addons for Roo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Addons for Roo" Watch "Addons for Roo" New topic

Addons for Roo

Jonathan Smiths

Joined: Jan 29, 2010
Posts: 15
Dear Ashish Sarin,

I have installed Springsource Tool Suite and I have created a basic Spring Roo project.
For my internship I try to create unit tests first and develop against my tests. (test-driven development)

Is it possible to let Spring Roo automatically generate tests for my methods? Or to generate the methods based on the tests?

Next to that, I am looking to extend the capabilities of Spring Roo by add-ons, but I couldn't find a single, central source for new addons. Did I overlook a website?

Thanks in advance.

EDIT: one extra question. After making some mistakes in the roo shell I am wondering if there is, or if there will be an undo function in the roo shell?
Ashish Sarin
Ranch Hand

Joined: Nov 20, 2000
Posts: 432
Hi Jonathan,

You can use test integration and test mock, test stub and test integration commands to generate tests corresponding to entities.

You can find some information about developing add-ons in Spring Roo reference documentation. Spring Roo 1.1 Cookbook provides a more comprehensive coverage of developing add-ons for Spring Roo.

Currently, there is no undo command in Roo. As Roo logs all commands in the log.roo file of the project. You can modify the Roo commands in log.roo and execute the complete set of commands in log.roo by using script command.


Author of
Getting started with Spring Framework
Portlets in Action
Spring Roo 1.1 Cookbook
Portlets blogSpring Roo blog
Jonathan Smiths

Joined: Jan 29, 2010
Posts: 15
Thank you very much, I will definitely try the test commands of Spring Roo!
I agree. Here's the link:
subject: Addons for Roo
jQuery in Action, 3rd edition