Results 1 to 3 of 3

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

  1. #1

    Default 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. #2
    Join Date
    Jul 2010
    Posts
    7

    Default

    Quote 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.

  3. #3
    Join Date
    Nov 2011
    Posts
    5

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •