Announcement Announcement Module
Collapse
No announcement yet.
Problem in performing test (tutorial on roo1.1M2) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem in performing test (tutorial on roo1.1M2)

    Hi,

    I'm trying to create the Tutorial Application "Pizzashop" but I have a problem when I give the command "perform tests".

    I got this message:

    ~.domain.PizzaOrder roo> perform tests
    Cannot run program "mvn" (in directory "/home/luke/Documents/workspace-sts-2.3.3.M2/pizza"): java.io.IOException: error=2, No such file or directory

    The directory of the project exists and I'm using the embedded version of maven included in STS 2.3.3M2.

    What could be the problem?

    Regards

    LuKe

  • #2
    Originally posted by lukeb View Post
    Hi,

    I got this message:

    ~.domain.PizzaOrder roo> perform tests
    Cannot run program "mvn" (in directory "/home/luke/Documents/workspace-sts-2.3.3.M2/pizza"): java.io.IOException: error=2, No such file or directory
    I run into the same problem. Maven was not in my system's path.

    Comment


    • #3
      I get the same problem. I just into the Pizza directory,and type 'mvn test'.

      As you can see Roo has issued a Maven command (equivalent to running 'mvn test' outside the Roo shell) in order to execute the integration tests. All tests have passed, Roo has generated 9 integration tests per domain object resulting in a total of 36 integration tests for all 4 domain objects.

      Comment

      Working...
      X