Feb 4th, 2010, 05:35 AM
How to update integration tests after manual changes to entity
I created two entites with --testautomatically flag and everything was fine.
Now I manually updated the relationships beteween the two and saved it.
The integration tests were not updated to the new relationship-type namely the dataondemand remained the same and threw an execption.
Is there a way to regenerate the integration-tests for my entities?
Feb 4th, 2010, 10:06 PM
Roo should detect the changes in your domain model and adjust these changes in your data on demand classes. Are you sure you have the Roo shell running in the background to monitor your project? You can also start the shell after your changes, as long as it is done at some stage.
If the Roo shell was running and the changes are not reflected correctly, would you please log a bug report (with the script and exact steps you have taken) so we can fix it for the next release?
Feb 7th, 2010, 05:21 PM
Also you could try typing "development mode", hitting ENTER, then changing one or both of the entity .java files. If something is wrong, you'll see the exception stack trace and can include that in a bug report.
Tags for this Thread