Announcement Announcement Module
Collapse
No announcement yet.
How to update integration tests after manual changes to entity Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to update integration tests after manual changes to entity

    Hi all,

    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?

  • #2
    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?

    Cheers,
    Stefan

    Comment


    • #3
      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.

      Comment

      Working...
      X