• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Addons for Roo

 
Jonathan Smiths
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Ranch Hand
Posts: 444
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

regards
ashish
 
Jonathan Smiths
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much, I will definitely try the test commands of Spring Roo!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic