Announcement Announcement Module
No announcement yet.
Roo can't create unit tests? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo can't create unit tests?

    i have a workspace that has a master project that has the parent pom.xml file it in, then 38 other projects that share that parent pom.

    in one of my child projects, i am trying to create unit tests on a spring service class i created and its not working. when i do

    test integration --entity

    i get

    Command 'test integration --entity' was found but is not currently available (type 'help' then ENTER to learn about this command)

    which gives me just slightly less information than a typical Microsoft error message. why isn't this working?

  • #2
    When you create the entity you have to choose --testAutomatically. Then Roo will generate integration tests for your entity.
    For the UI you can use the selenium command.